备份数据库问题 [英] taking backup of database problem

查看:71
本文介绍了备份数据库问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我以编程方式接受sql server 2008数据库备份..当我选择像C:\或E:\这样的根文件夹时,收到的错误消息是服务器'Server \ SQlExpress'的备份失败" ...服务器\ SQlExpress是服务器名称.假设我选择了E:\ newfolder,那么我将获得备份而没有任何错误..我可能知道是什么问题..
在此先感谢..我需要紧急..

Hi All,
am programatically taking the sql server 2008 database backup .. when i select the root folder like C:\ or E:\ like that am getting the error message is " Backup failed for server ''Server\SQlExpress''"... Server\SQlExpress is the server name. suppose i select the E:\newfolder, i will getting the backup without any error.. may i know whats the problem..
thanks in advance.. i need it urgent ..

推荐答案

确实选择了错误的目录.使用Window 7,默认情况下,大多数目录受用户(超级用户)的保护.对于XP和Windows的早期版本不是这种情况,但是如果您了解它的价值,就想保护它.想象一下,您将计算机用作多用户系统.您是否希望您的用户可以将他们的文件直接写入系统卷的顶层?我不这么认为.

您只需要保留正确的目录进行备份.您可以在您选择的磁盘上创建一些目录并给予适当的权限.要执行此操作,您需要自己获得适当的权限,以Administrators成员的身份运行,等等.或者,使用users子目录:"Users"或"Documents and Settings"及其相应的子目录: 所有用户/..."或为用户保留的一个.

—SA
Bad choice of directory indeed. With Window 7, most of the directories are protected for the users, power users, by default. This is not the case for XP and earlier versions of Windows, but this is something you would want to protect if you understood the value of it. Imagine you use your computer as a multi-user system. Would you like if your users could write their file right to the top level of the system volume? I don''t think so.

You just need to reserve right directory for backup. You can create some directory on the disk of your choice and give it appropriate permission. To do this operation, you will need to get appropriate permission by yourself, run as a member of Administrators, etc. Alternatively, use users sub-directory: "Users" or "Documents and Settings" and appropriate sub-directory of it: either "All users/..." or the one reserved for you as a user.

—SA


这篇关于备份数据库问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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