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

前端 未结 23 1568
伪装坚强ぢ
伪装坚强ぢ 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:02

    The AppHarbor gang has been struggling with this and has developed a temporary solution using SQL server management objects and SqlBulkCopy.

    Check out their blog post about it, or go straight to the code.

    They've only tested it with AppHarbor but it may be worth checking out.

提交回复
热议问题