【发布时间】:2010-10-04 11:09:02
【问题描述】:
何,
我正在尝试使用 msdeploy 命令行工具将数据库从开发复制到测试。
它似乎可以工作,只是我想在测试中删除数据库然后重新创建它们
-verb:sync -source:dbFullSql="Data Source=DEVSERVER;Initial Catalog=XXX_Application;Integrated Security=true",dropDestinationDatabase=true -dest:dbFullSql="Data Source=111.111.111.111;Initial Catalog=XXX_Application;uid=admin;pwd=xxx;Integrated Security=false",dropDestinationDatabase=true
这是我的命令行。
为什么会忽略 dropDestinationDatabase 选项?
admin 用户拥有 drop 权限。
问候, 抢
【问题讨论】:
标签: database msdeploy automated-deployment