Idera SqlSafe恢复数据库
EXEC [master].[dbo].[xp_ss_restore] 
@database = 'TestDBM', 
@filename = 'D:\dumps\TestDBM.BAK', 
@managementserver = 'testserver', 
@backuptype = 'Full',
@encryptionpassword = 'password', 
@withmove = 'TestDBM C:\MSSQL\data\TestDBM.MDF', 
@withmove = 'TestDBM_log C:\MSSQL\log\TestDBM_log.LDF',
@recoverymode = null
注意@withmove参数

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号