SQL drip 12-sql server backup restore a trick in the database

Source: Internet
Author: User
Tags microsoft help
Original: SQL drip 12-sql server backup restore a trick in the database

A less familiar error occurred while backing up the database, error message "is formatted to support 1 media families, but 2 media families was expected according to the back Up device Specification ". Such as:

The workaround is to first select the file that was last backed up, click Remove, remove the current backup file, and then click OK to back up. This will correct the backup. Also in the Microsoft Help document to see the original, there is too much content does not have time to look closely.

Restore the database, but also encountered a database inside the trick, restore when found in the folder can not find the Bak file, select All Files (*) before it appears. This may be the System View folder options inside the settings, yes, the system does not display the file suffix. Specific as

Also note that if there is a database in SQL Server with the same name as the current database backup and you have chosen to overwrite the current database, you should modify the Mdf,ldf file name of the newly created database, or the new database will overwrite the database with the same name, such as.

SQL drip 12-sql server backup restore a trick in the database

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.