Applies to:   SQL Server

 

Take a backup

To take a backup of your database, follow these steps:

  1. Launch SQL Server Management Studio (SSMS) and connect to your SQL Server instance.
  2. Expand the Databases node in Object Explorer.
  3. Right-click the database, hover over Tasks, and select Back up....
  4. Under Destination, confirm that the path for your backup is correct. If you need to change the path, select Remove to remove the existing path, and then Add to type in a new path. You can use the ellipses to navigate to a specific file.
  5. Select OK to take a backup of your database.

Take SQL backup

Restore a backup

To restore your database, follow these steps:

  1. Launch SQL Server Management Studio (SSMS) and connect to your SQL Server instance.
  2. Right-click the Databases node in Object Explorer and select Restore Database....

Restore a database

  1. Select Device:, and then select the ellipses (...) to locate your backup file.
  2. Select Add and navigate to where your .bak file is located. Select the .bak file and then select OK.
  3. Select OK to close the Select backup devices dialog box.
  4. Select OK to restore the backup of your database.

Restore the database