获取逻辑文件名和数据库名称
1
restore filelistonly from disk = 'D:\DB\DB_OMINFO_backup_6633232.bak'
执行还原
1
2restore database DB_INFOS FROM disk = 'C:\DB\DB_OMINFO_backup_6633232.bak' with move 'DB_INFOS' to 'D:\Develop\Database\DB_INFOS.mdf',
move 'DB_INFOS_log' to 'D:\Develop\Database\DB_INFOS_log.ldf'