是否可以使用SSIS将整个数据库从一台服务器复制到另一台服务器 [英] Is it possible to copy entire database from one server to another using SSIS
问题描述
大家好,
我是SSIS的新手。我试图将数据库中的所有表及其数据从一个服务器复制到另一个服务器,例如从测试数据库复制到开发数据库。
我尝试创建一个ssis包通过创建2个连接(开发和测试)。创建一个数据流,在里面我选择了oledb source和ole db destination并相应地选择了db但它要求我选择table ..但是我要复制整个db
如果有办法可以请一些人帮忙。
我尝试创建备份/恢复和导入/导出但是我被拒绝访问..
有没有其他办法?
hi All,
I am new to SSIS. I am trying to copy all the tables and their data in a Database from one server to another server say from test database to dev database.
I tried creating a ssis package by creating 2 connections(dev and test). create a data flow and inside it I selected oledb source and ole db destination and selected the db accordingly but it is asking me to select table..but I want to copy entire db
Can some one please help if there is a way.
I tried creating backup/restore and import/export but I am getting access denied..
is there any other way for this??
推荐答案
传输SQL Server对象任务应该可以帮到你。
尝试样品 -
在SSIS中传输数据库任务和传输SQL Server对象任务 [ ^ ]
在带有示例的SSIS 2008 R2中传输SQL Server对象任务 [ ^ ]
Transfer SQL Server Objects Task should help you.
Try samples at -
Transfer Database Task and Transfer SQL Server Objects Task in SSIS[^]
Transfer SQL Server Objects Task in SSIS 2008 R2 With Example[^]
这篇关于是否可以使用SSIS将整个数据库从一台服务器复制到另一台服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!