Did you have ever restored a SQL data base? If you are a developer probably not. With this post I'm going to show how to restore deferential backups step by step.
- One important thing, to restore deferential backups, you need to have latest full backup and subsequent deferential backups.
Go to the SQL Server Management Studio, and select "Restore Database..." option by right clicking on Databases node in the Object Explorer. Follow the steps as shown in following screen shot.
|
Figure 1 |
- Select "Options" from the left of the dialog and select the following option.
|
Figure 2 |
- Now, note your data base's status has been changed to "Restoring".
|
Figure 3 |
- Restore the number of subsequent deferential backups, except the last one, only with "RESTORE WITH NORECOVERY" option on.
- Restore last backup with default values of the option dialog box. That is with "RESTORE WITH RECOVERY" option. And also note the database status has changed back to normal.
Considerations:
No comments:
Post a Comment