--首先连接服务器
master..xp_cmdshell 'net use \\A\Backup testpwd /user:domain\user'
在SQL 管理=>维护计划中建立备份 ,将备份目录指向\\A\Backup (此目录需要共享)即可。