How can I remotely back up and import data from SQL Server into a local SQL Server?

Source: Internet
Author: User
Tags copy backup
server| Backup | data

One: Back up the remote database, copy the backup files to the local, and then restore the database locally.
Two: Copy the data files of the remote database with the log files to the local (the remote database service must be stopped before the copy can be copied), and then attach the database operation locally.
Three: (Need to know the remote database login name and password) Open Enterprise Manager, on the SQL Server group, select New SQL Server registration, click Next, enter the IP of the remote server in the available servers, and then click Add to continue to the next step, Follow the instructions step-by-step. Once the registration is complete, you can manipulate the remote database as you would a local database.


Backup DATABASE sys to disk= ' \ Your ip\ shared directory \a.bak ' with init

It is critical that the account that starts your remote SQL Server database service need to have permission to write on the local drive shared folder. Otherwise, it cannot be backed up.



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.