I am new to SQL-server world. What i want to know is that can you perform a full backup while SQL server is running with users still logged on? Also is there a way to schedule an auto shutdown of the server?
In Microsoft SQL Server, backup operations can occur while the database is online and in use. However, some operations are not allowed during a database backup:
Creating or deleting database files.
The file truncation portion of a shrink operation on either the database (automatically or manually) or the database files. They will fail if a backup is running. You can perform the truncation after the backup completes. For more information, see Shrinking a Database. (in books on-line)
If a backup is started when one of these operations is in progress, the backup waits for the operation to complete, up to the limit set by the session timeout. If a backup is in progress and one of these operations is attempted, the operation fails and the backup continues.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.