我如何复制正在运行的数据库 [英] how i can copy a database that running

查看:82
本文介绍了我如何复制正在运行的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,
我想在运行的MSSQL2008中复制数据库,而无需使用任务/脱机

hi dears,
i want copy a database in my MSSQL2008 that it''s running,without using TASKS/TAKE OFFLINE
how i can??

推荐答案

简单的答案是,您不能.数据库联机时,数据库文件被锁定.复制数据库而不使用复制数据库"命令或取假"的唯一方法是停止SQL Server服务并手动复制数据库文件并将其还原为其他数据库.
The simple answer is, you cannot. The database files are locked when the database is online. The only way to copy a database without using ''Copy Database'' command or ''Take Offine'' is to stop the SQL Server service and manually copy the database files and restore it as a different database.


这篇关于我如何复制正在运行的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆