How to restore a differential backup database

Source: Internet
Author: User

1. Complete recovery
Enterprise Manager -- Right-click "Database" -- all tasks -- Restore database
-- Enter the restored database name in "Restore to Database" and set it to test.
-- Restore select "from device" -- select device -- add your backup file
-- OK. Return to the database restoration page.
-- "Restore backup set", select "database -- full"
-- Option -- change the physical file name in "move to physical file name" to the name of the data file to be stored.
-- If the database to be restored already exists, select "Force restore on the existing database"
-- "Recovery completed", select "make the database no longer run, but can restore other transaction logs"
-- OK

-- Or use an SQL statement:
Restore database from disk = 'C:/your full Backup Filename 'with recovery

2. Restore the difference
Enterprise Manager -- Right-click "Database" -- all tasks -- Restore database
-- In "Restore to Database", select database name: test.
-- Restore select "from device" -- select device -- add your backup file
-- OK. Return to the database restoration page.
-- "Restore backup set", select "database -- difference"
-- "Restore completed", select "enable database to continue running, but cannot restore other transaction logs"
-- OK

-- Or use an SQL statement:
Restore database from disk = 'C:/your differential Backup Filename 'with norecovery

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.