更新已部署的 SSIS 包
我有一个已部署的 SSIS 包,其中包含时间表和所有内容。现在,我对这个包进行了更改。我是否必须重新部署它,并再次为其设置计划,或者是否有办法让已部署的 SSIS 包更新为最新版本?
I have a deployed SSIS package, with a schedule and everything. Now, I have made changes to this package. Do I have to re-deploy it, and setup the schedule for it again, or is there a way for an already deployed SSIS package to be updated with the latest build?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您需要将包重新部署到调度程序期望找到包的任何位置。
但是,您不需要重新创建作业、配置或任何爵士乐,只需执行 dtsx 包的就地替换即可。如果您将其存储到文件系统,请将新版本复制到其上。如果您将其存储在 SQL Server 中,请使用命令行替换它(大约为 dtutil /file PkgName.dtsx /destserver thatdatabase /copy SQL;PkgName)或使用 ssismanifest 部署包或我当前最喜欢的包,使用 用于 SSIS 部署和维护的 PowerShell
Yes, you need to redeploy the package(s) to whatever location the scheduler expects to find the package(s).
You do not, however, need to recreate the job, configurations or any of that jazz, simply perform an in-place replacement of the dtsx package. If you stored it to the file system, copy the new version over it. If you stored it in SQL Server, use the command-line to replace it (approximately dtutil /file PkgName.dtsx /destserver thatdatabase /copy SQL;PkgName) or use the ssismanifest to deploy packages or my current favourite, use PowerShell for SSIS deployment and maintenance