无法将数据库从驱动器复制到另一个 [英] Unable to copy database from drive to another

查看:105
本文介绍了无法将数据库从驱动器复制到另一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将数据库''tnrest''从带有_log文件的路径复制到我的笔式驱动器,然后在另一台机器上使用它。它给了我以下问题:

----------

出现复制文件或文件夹对话框时出错;

- 无法复制tnrest_log:它被其他人或程序使用。

- 关闭所有可能正在使用该文件的程序,然后重试。

- ----------

即使我重新启动系统也会出现同样的错误。

任何人都可以在这方面帮助我。谢谢。

I wanted to copy my database ''tnrest'' from path with _log file to my pen drive and then use it in another machine. It gives me following problem:
----------
Error copying file or folder- dialog box appears and in it;
- Cannot copy tnrest_log: It is being used by another person or program.
- Close any programs that might be using the file and try again.
------------
Even if I restart the system it is giving the same error.
Can anyone help me in this regard. Thank you.

推荐答案

停止SQL服务器服务然后复制文件。
Stop the SQL server service then copy the files.


复制我的数据库''tnrest ''从带有_log文件的路径到我的笔式驱动器

无法复制tnrest_log:它正由另一个人或程序使用。

听起来像基于SQL Server的服务正在运行,因此您无法复制它。您需要进入系统服务并停止复制文件。
copy my database ''tnrest'' from path with _log file to my pen drive
Cannot copy tnrest_log: It is being used by another person or program.
Sounds like SQL server based service is running and thus you are unable to copy it. You need to go into your system services and stop them to copy the files.


这篇关于无法将数据库从驱动器复制到另一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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