One, the backup of SQL database :
1. Open Start menu → program →microsoft SQL Server 2005→sql server Management Studio, here I use the umvtest named database to teach you backup features:
2, select the database to be backed up "Umvtest", right click → tasks → backup,
Second, SQL Restoring the database :
1, select the database you want to restore "Umvtest", right click → tasks → restore → database,
2. In the "Restore Database-umvtest" dialog box that appears, select "Source Device", and then click the "..." button later,
3. In the "Specify Backup" dialog box that appears, click the "Add" button,
4, find the path of the database backup, select the database you want to restore (Note: File type Select all files), and then " two times " click the "OK" button,
5. In the "Restore Database-umvtest" dialog box that appears, tick the check box in front of the database under "Select User restored backup Set".
6, then select "Options", tick "Overwrite existing database",
Finally, the restoration of the database is completed by the determination.
Third, restore the database problem solution
When you restore a database, you sometimes encounter the problem "because the database is in use, you cannot gain exclusive access to the database", and we can follow these steps to resolve the issue
1. Right-click the database "dsideal_school_db" and select "Properties", such as:
2. In the Database Properties dialog box that appears, select options, and in status under Other options, locate restrict access. Select "Single_user" and click "OK" button, such as:
3, follow the normal steps to restore the database, restore the database
Restore and backup of SQL Server 2005 databases