BACKUP DATABASE [MyDB1] TO DISK = N'c:\backup\MyDB1.bak' WITH INIT, SKIP, CHECKSUM GOnow i want to know script to restore this backup to another server in another computer this script to restore within the same machine but how to madify this to another computer
RESTORE DATABASE MyDB1Restore FROM DISK = N'C:\Backup\MyDB1.bak' WITH MOVE 'MyDB1' TO 'C:\MyDB1Restore.mdf', MOVE 'MyDB1_log' TO 'C:\MyDB1Restore.ldf' , REPLACE