This section describes how to backup and restore Microsoft SQL Server with the OBM.
Table of Contents:
18.5.1.1 Restore master database 18.5.1.2 Restore other system or user database (complete backup) 18.5.1.3 Restore other system or user database (differential / transaction log backup)
Refer to the following instructions to restore the master database:
From a command prompt, browse to the appropriate directory for the instance of SQL to start
Enter the following command.
For default instance >sqlservr.exe -c -m For named instance >sqlservr.exe -c -m {instance_name}
Important: Only perform Step 1 and 2 if you are restoring the master database.
If the file exists on a network share, provide the UNC share name in the File name text box.
Restart the SQL Windows services, or enter the following command.
For default instance >sqlservr.exe -c For named instance >sqlservr.exe -c {instance_name}
Refer to the following instructions to restore a complete backup:
Note:
SQL Server databases may be backed up on one server and restored to another server.
If the target database does not exist on the server, right click on any database instead. A new database can be created while restoring the backup.
If the file exists on a network share, provide the UNC share name in the File name text box.
For the [Recovery completion state] setting:
Important:
If this is the final backup to be restored, select - [Leave database operational.
No additional transaction logs can be restored]
If there are further differential or transaction log to be applied, selection one of the other two options for the Recovery completion state
Refer to the following instructions to restore a differential or transaction log backup:
Important:
If this is the final transaction log to be applied, select -
[Leave database operational. No additional transaction logs can be restored]
If there are further backups to be applied afterward, one of the other two options for the Recovery completion state.