码迷,mamicode.com
首页 > 数据库 > 详细

通过备份文件还原数据库

时间:2017-09-22 14:08:36      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:res   还原   proc   备份文件   data   文件   city   base   oci   

restore database [DATA/MEXICO-ALTAN-MEXICOCITY-201707-0001] from disk=‘E:\02部署资料\DB\DATA.bak‘ with replace, move ‘DT‘ to ‘E:\DB\Mexico700M\DATA.mdf‘, move ‘DT_log‘ to ‘E:\DB\Mexico700M\DATA_log.ldf‘
restore database [PRO/MEXICO-ALTAN-MEXICOCITY-201707-0001/ProConfig] from disk=‘E:\02部署资料\DB\PRO.bak‘ with replace, move ‘ProConfigDB‘ to ‘E:\DB\Mexico700M\PRO.mdf‘, move ‘ProConfigDB_log‘ to ‘E:\DB\Mexico700M\PRO_log.ldf‘

通过备份文件还原数据库

标签:res   还原   proc   备份文件   data   文件   city   base   oci   

原文地址:http://www.cnblogs.com/huanglong1987/p/7574320.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!