How to Backup a Database
-
Posted on November 21, 2010 by Derek Dieter
-
0
Backing up a database is relatively straight forward using SQL Server Management Studio.
- First open management studio and connect to the Database Server that contains the database you want to backup.
- Expand the “Databases” folder and right-click on the database you want to make a backup of.
- Choose Tasks -> Back Up… (now the Back up database dialog appears)
- Select the “Remove” button to remove the current backup location
- Select the “Add” button and add a new location to backup the database to. Now choose a location on disk and give it a file name. It is good practice to include the date of the backup in the filename. You may also want to save the file name with a .BAK extension
- You can select “OK” and the backup will begin. You can optionally at this point, select the “Script” button at the top of the dialog in order to retrieve the script that SSMS uses to perform the backup. A new window will open and you will have your script. You can then use this script in a job, or run it yourself.
From here, if you simply hit the “OK” button, your database will be backed up in the default location. However, let’s specify a location so we can find it.
Post a comment
- Comments (RSS)
- Trackback
- Permalink
5 comments
shaveta sharma
02 Apr 2012 at 2:42 am
how can i configure jobs,alerts in sql server 2000.?
hi sir,
my name is shaveta sharma .i m working as lecturer in engineering college in india.but i hav some problems while giving notes on some topics related to my subject database administration.kindly send me details regarding my query i posted above.
with regards
shaveta sharma
–