Professional Documents
Culture Documents
MSSQL Server Backup and Recovery
MSSQL Server Backup and Recovery
SCHEDULE DAILY BACKUP FOR SQL SERVER DATABASE USING SQL AGENT
5. In 2nd step of the wizard, you can schedule the task as clicking the Button “Change” as shown in the following
6. Click the “Change” button you will get a new popup to enter schedule details as shown below. Configure backup
frequency on preferred schedule.
7. Click OK. It will save the schedule info and close the popup. And click Next button to follow the next step.
8. In this step you will be asked to check the check list for all the tasks those can be added in maintenance plan.
Select “Backup Database (Full)” as shown in the figure.
9. Follow the wizard until you get following window. Select one or more databases from the list of databases by
clicking dropdown for Databases.
Page | 3
10. From the above window, browse the folder location where to store the backup files.
Note: To set backup location to shared folder/NAS/file server, you may place the access path(ex.
\\server\sharedFolder). Then Run SQL agent service
12. Click Finish. Once you click finish, the wizard will execute the steps to create a job to schedule database.
Immediately you will notice a job created in Sql Agent -> Jobs.
13. As per the schedule, the job runs (Repeatedly or One time) and it creates backup file with name
DB_NameMMddyyyyHHmm.bak (Ex: NorthWind060420081912.bak) in the specified folder (Browsed in the above
step).
**NOTE: For redundancy and data safety, we strongly recommend to have an external backup daily. You can use
external hard drive or store it on separate machine.
2. Expand Databases and right click on the DB you want to backup, go to Tasks and choose Back Up..
Page | 4
3. Another window will pop up where you can edit the destination of the backup file and the file name. See
below.
4. For Destination: Click Remove and then click ‘Add’ if you want to specify other destination path where
your backup will be stored.
5. After editing the necessary fields, click OK to proceed with the backup.
Page | 5
RESTORE/RECOVER FROM A BACKUP
3. Right-click Databases > Restore Database and another window will pop-up.
4. Select Device and click on ellipses and click Add to locate the file.
Page | 6
6. Once done, click OK.
7. Click Files and modify DB file names if backup file came from LIVE DB.
Page | 7
8. Click Options and make sure Tail-log Backup backup is unticked.
9. Click OK to start restoration. A prompt message will appear once the installation is done.
Page | 8
DISASTER RECOVERY OPTIONS
Page | 9