How to migrate SQL Server databases

Source: Internet
Author: User

Two scenarios of database migration: https://www.cnblogs.com/mcgrady/p/7614491.html

Programme I

1, first package the database files on the source server (including the MDF and LDF files) and copy them to the destination server.

2, unzip, and then attach the database on the target server

Summary: Suitable for large databases (50GB or more), need to quickly migrate data, and mobile hard disk space is large enough.

Back to top scenario two

Restore after backup

1, Backup

Database object Right-click \ task \ Backup

Note that if the database file is large, it is best to select ' Compress backup '

2, restore

Copy the backup file to the destination server, and then restore the database.

Summary: Suitable for small and medium sized databases (otherwise the backup time is longer), is not very urgent, and mobile hard disk space is limited.

How to migrate SQL Server databases

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.