RESTORE DATABASE DBName FROM DISK = 'F:WorkSpacedatabaseackup.bak' with replace, MOVE 'DBName' TO 'F:WorkSpacedatabaseDBName.mdf', MOVE 'DBName_log' TO 'F:WorkSpacedatabaseDBName_log.ldf'restore filelistonly from DISK='D:OA.bak'