Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / database / SQL-Server

Backup and Restore SQL Server database

5.00/5 (1 vote)
29 Nov 2011CPOL 8K  
If you use SQL Server 2005, then do this:Go to your database and right click on the database name.Go to Task and choose Backup and Enter, your backup is created.Then if you want to restore it:Make a new database and right click.Choose Restore database and choose Backfile.Select...

If you use SQL Server 2005, then do this:



  • Go to your database and right click on the database name.
  • Go to Task and choose Backup and Enter, your backup is created.

Then if you want to restore it:



  • Make a new database and right click.
  • Choose Restore database and choose Backfile.
  • Select file name and restore it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)