RESTORING DATABASE WITH T-SQL SCRIPT
RESTORE DATABASE [Sample]
FROM DISK='D:\School\Sample_FULL_10102018.BAK'
WITH RECOVERY,
MOVE 'Sample' –Logical
file name of the data file
TO 'D:\School\School_Data.mdf',
MOVE 'Sample_log'--Logical
file name of the log file
TO 'D:\School\School_Log.ldf';
Comments