何,

我试图让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选项?

管理用户具有权限的下降。

此致 罗布

有帮助吗?

解决方案

我认为你需要的参数附加到只有-dest:dbFullSql开关

http://technet.microsoft.com/en -us /库/ dd569036(WS.10)的.aspx

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top