Restore and backup of SQL Server 2005 databases

Source: Internet
Author: User
Tags microsoft sql server microsoft sql server 2005 management studio sql server management sql server management studio

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.