0

我试图创建一个 WindowsAzure 备份,但我没有成功,因为只创建没有数据的表结构。这是我遵循的程序:

1.Select the database you want to back up in new portal of windows azure https://manage.windowsazure.com
2.In the footer you will have an option to import/export. Click export. This opens a modal popup. Select the storage account you want to use and type in a appropriate name to save the *.bacpac file.
3.Once the file is saved to storage, download it to local, open sql server 2012 management studio. Select the database server. Right click on it and in the context menu you will find Import Data-Tier Application. Select the bacpac file from you local and follow the settings. 

如何创建备份同时保存数据?

4

3 回答 3

3

CREATE DATABASE XXXXXX AS COPY OF YYYYY

MSDN 链接有一篇完整的文章,介绍了您可以执行此操作的所有不同方式,以上只是其中之一。LMGTFY:http: //msdn.microsoft.com/en-us/library/windowsazure/ff951624.aspx

于 2013-03-06T23:31:12.043 回答
0

除了 T-SQL 脚本方法之外,还有一些方法,Red Gate 提供的两种方法是:

  • SQL Azure 备份应用程序- 免费的桌面应用程序以及命令行工具,允许您将 SQL Azure 数据库的完整备份传输到本地环境或您有权访问的其他环境。
  • SQL Azure Backup Hosted - 一种托管解决方案变体,具有许多功能
于 2013-03-08T08:40:19.813 回答
0

微软最近做了一个非常全面的博客,涵盖了备份 SQL Azure 数据库的所有方法。

http://blogs.msdn.com/b/windows_azure_technical_support_wats_team/archive/2013/03/04/different-ways-to-backup-your-windows-azure-sql-database.aspx

只是让您知道-我开发了选项号 7 :)

于 2013-03-11T07:08:53.793 回答