Complet DB Backup and Recovery
Complet DB Backup and Recovery
Once you click on the “Backup” the following Backup Database window will appear.
Step 4: Select the following options:
1. Backup type: Full
2. Under Destination, Backup to: Disk
Step 5: Now, by clicking on the “Add” button, the following window will appear to select the path and file name
for the database backup file [as shown in the image below]:
Step 6: Select the destination folder for the backup file and enter the “File name” with .bak extension [as shown
in the image below]:
Make sure you place your MS SQL database .bak file under the MSSQL backup folder.
Step 7: Hit the OK button to finish the backup of your MS SQL Server 2008 Database. Upon the successful
completion of database backup, the following confirmation window will appear with a message “The backup of
database “yourdatabasename” completed successfully. [as shown in the image below]:
Following the above shown steps, you will be able to create a successful backup of your MS SQL Server 2008
Database into the desired folder.
Step 4: Select the option “Backup media as File” and click on the Add button to add the backup file location [as
shown in the image below]:
Step 5: Select the backup file you wish to restore and Hit the OK button [as shown in the image below]:
You will get the confirmation windows with a message “The restoration of database “yourdatabasename”
completed successfully.” Now you know the procedure of backing up and restoring MS SQL Server 2008
Database.
Step 6: Once this has completed, a pop-up will say the database has been restored successfully. Click OK.
You can create a back up and restore using SQL transaction code: use master
BACKUP DATABASE Employee TO DISK = 'D:\Employee.bak'
restore DATABASE Employee from disk= 'D:\Employee.bak'
Self check questions