Database Backup Restore Notes

Source: Internet
Author: User

Try to back up, restore on two different machines

SQL database backup database right--> task-> backup. In the Open Backup Database dialog box, click Delete First, then click Add, and in the Select Backup Destination dialog box, select the folder and file name (used when restoring).
SQL database Restore database right--> task-> restore. In the Restore Database dialog box that opens, select Original device, and then click the "..." button at the back.
In the Specify Backup dialog box that appears, click the Add button to add the. bak folder that you just backed up.
Possible error

It's not a problem to restore a lot of databases before, and this is the first step to set up a target database, then select the source file to restore. Finally made a mistake:


1, first of all, we should set up a target database before restoring the database, otherwise the system can not find the target database error.

2, right click--Restore the database

3, select the target database and source equipment.

4, check the backup set to restore, click Options to the Options page


5, check and overwrite the existing database.


6, the error may occur: Restore database prompts are in use


WORKAROUND: This database may be called in IIS and can be restored after IIS is closed ...
Workaround Two: Right-click the database "XX", then select Properties, select Options, and under Other options, find restricted access in status. Select "Single_user" and click "OK" button. Continue restore




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.