简体   繁体   English

SQL Server 2008中的远程维护计划

[英]Remote Maintenance Plans in SQL Server 2008

I've set up a maintenance plan in instance #1 of SQL Server 2008. In theory, it will connect to instance #2 and back up those databases to the hard drive of instance #1. 我已经在SQL Server 2008的实例1中设置了维护计划。从理论上讲,它将连接到实例2,并将这些数据库备份到实例1的硬盘中。

I have: 我有:

  • Created a login on instance #2 在实例2上创建登录名
  • Given that login the correct permissions needed to back-up a database (I tested it) 考虑到登录名,备份数据库所需的正确权限(我对其进行了测试)
  • Created a working connection in the maintenance plan to instance #2 (I tested it) 在维护计划中创建了到实例2的工作连接(我对其进行了测试)

However, the plan will not execute and the only error that I get is "The maintenance plan failed." 但是,该计划将不会执行,并且我得到的唯一错误是“维护计划失败”。 Is there something that I'm missing? 有什么我想念的吗?

Any help is greatly appreciated. 任何帮助是极大的赞赏。 Thanks in advance! 提前致谢!

UPDATE: I created a maintenance plan on instance #2 that would back up instance #2's databases and then ship them over to the machine that instance #1 is installed on. 更新:我在实例2上创建了一个维护计划,该计划将备份实例2的数据库,然后将其运送到安装了实例1的计算机上。 This did not work either! 这也不起作用!

如果是执行维护计划的sql server代理,请检查其权限实例#2或对SSIS执行使用代理帐户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM