LINK - Windows Azure - Clone of SQL Azure
2015-07-24 11:41
555 查看
http://blog.idera.com/sql-server/how-to-make-a-copy-of-a-database-on-windows-azure-sql-database/
The exact command to run depends on whether or not you are copying a database to the same SQL Database server or to a different one. To create a new database (new_db) as a copy of an existing database (current_db) on the same server, simply connect to the master database then run the following statement:CREATE DATABASE [new_db] AS COPY OF [current_db]If current_db is to be created on another SQL Database server, connect to the destination server and run this command (where source_server is the SQL Database name where current_db is stored):CREATE DATABASE [new_db] AS COPY OF [source_server].[current_db]
https://msdn.microsoft.com/en-us/library/azure/hh335292.aspx
Migrating your database is as simple as exporting the schema and data, storing this file in an Azure Storage Account, and then importing the file to create a new database. Import and Export can also be used for archiving, as well as combined with Database Copy to create a transactionally consistent copy of a database.
The exact command to run depends on whether or not you are copying a database to the same SQL Database server or to a different one. To create a new database (new_db) as a copy of an existing database (current_db) on the same server, simply connect to the master database then run the following statement:CREATE DATABASE [new_db] AS COPY OF [current_db]If current_db is to be created on another SQL Database server, connect to the destination server and run this command (where source_server is the SQL Database name where current_db is stored):CREATE DATABASE [new_db] AS COPY OF [source_server].[current_db]
https://msdn.microsoft.com/en-us/library/azure/hh335292.aspx
Migrating your database is as simple as exporting the schema and data, storing this file in an Azure Storage Account, and then importing the file to create a new database. Import and Export can also be used for archiving, as well as combined with Database Copy to create a transactionally consistent copy of a database.
相关文章推荐
- 谈谈 数据库的 acid
- mysql常用命令
- mybatis使用log4j打印sql
- ORACLE 进程
- 从Access创建Sqlite数据库
- NoSql数据库及其语法比较
- redis主从配置
- redis集群部署
- [转]谈谈数据库的ACID
- redis集群&主从部署
- memcached详细介绍,安装,高可用,分布式案例,监控
- NoSql数据库的分类
- C#excel、sql sever批量数据的导入导出
- 数据库题——高于部门平均工资查询问题
- 搭建高可用MongoDB集群(四):分片-----个人记录
- mysql mysql SELECT 自增数显示
- Mongodb千万级数据在python下的综合压力测试及应用探讨
- 三款开源关系型数据库对比:MySQL、PostgreSQL、SQLite
- SQLite VACUUM/真空(sqlite 文件压缩)
- 关于Oracle的内连接问题