How can I backup a remote SQL Server database to a local drive?

前端 未结 23 1273
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 16:20

I need to copy a database from a remote server to a local one. I tried to use SQL Server Management Studio, but it only backs up to a drive on the remote server.

Som

相关标签:
23条回答
  • 2020-11-30 17:13

    You cannot create a backup from a remote server to a local disk - there is just no way to do this. And there are no third-party tools to do this either, as far as I know.

    All you can do is create a backup on the remote server machine, and have someone zip it up and send it to you.

    0 讨论(0)
  • 2020-11-30 17:15

    As Martin Smith said, if you have no access to the machine or the filesystem, you will need to use third party tools, like Red Gate or Adept to do a compare on the source and destination systems. Red Gate's tools will allow you to copy the objects and schemas AND the data.

    0 讨论(0)
  • 2020-11-30 17:15

    yone way you could take a backup from a remote SQL Server instance to your local drive, given the following condition is met:

    1. You have a shared folder on your local drive.
    2. the shared folder is accessible from the SQL Server box.

    Now when specifying the backup command, use the shared folder path when specifying the disk option.

    0 讨论(0)
  • 2020-11-30 17:15

    just try this one:

    1)Share a folder with full permission in your computer

    2) in your SQL server : control panel -> administrative tools -> services -> right click on all SQL services

    on log on tab should start with your domain administrator

    3) in maintenance wizard of sql server place the back up location and folder (\yourcomputername\sharedfoldernam)

    I did remote backup on 8 server of sql server 2008 in our company

    0 讨论(0)
  • 2020-11-30 17:15

    I use Redgate backup pro 7 tools for this purpose. you can create mirror from backup file in create tile on other location. and can copy backup file after create on network and on host storage automatically.

    0 讨论(0)
  • 2020-11-30 17:18

    The answers above are just not correct. A SQL Script even with data is not a backup. A backup is a BAK file that contains the full database in its current structure including indizes.

    Of course a BAK file containg the full backup with all data and indizes from a remote SQL Server database can be retrieved on a local system.

    This can be done with commercial software, to directly save a backup BAK file to your local machine, for example This one will directly create a backup from a remote SQL db on your local machine.

    0 讨论(0)
提交回复
热议问题