Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / August 2008

Tip: Looking for answers? Try searching our database.

restore backup : access denied

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John A Grandy - 28 Aug 2008 18:38 GMT
box # 1 : SQL Server 2005 Developer Edition , mixed-mode , logged-in as
Windows log-in account ( BUILTIN\Administrators ) :

create a .bak file

box # 2 : SQL Server 2005 Express Edition , Windows authentication mode ,
logged-in as Windows log-in account ( BUILTIN\Administrators ) :

attempt to restore .bak file to a new db , but on attempting to select the
backup set ( by checking checkbox ) receive "Access is denied" error

What could be going on ?
Russell Fields - 28 Aug 2008 19:45 GMT
John,

Where is the backup file stored?  Apparently box # 1 has access, but box #
2 does not.  Is the backup file on box # 1 or somewhere on a network?  If on
the network, how did box # 1 get access to that location?

I understand that you logged in through BUILTIN\Administrators, but under
what account is SQL Server running?  Is it Local System?  NT
Authority\Network Service? Et cetera? If so, that is a login local to the
box it runs on and does not have rights on some other box.  Ideally (I don't
know your setup of course) the SQL Servers should be run as a domain account
that can be granted the needed rights to the network, other boxes, etc.

Here is the Books Online consideration of your service account choices and
the impact of each:
http://msdn.microsoft.com/en-us/library/ms143170(SQL.90).aspx

RLF

> box # 1 : SQL Server 2005 Developer Edition , mixed-mode , logged-in as
> Windows log-in account ( BUILTIN\Administrators ) :
[quoted text clipped - 8 lines]
>
> What could be going on ?
Uri Dimant - 31 Aug 2008 08:31 GMT
John
In addition to Russell's comment
Can you issue a backup  from one box to another  like

BACKUP DATABASE dbname TO DISK =
   N'\\servername\shared_folder\dbname.BAK'

Note: make sure that box 1 'sees' the box 2 via shared folder

> box # 1 : SQL Server 2005 Developer Edition , mixed-mode , logged-in as
> Windows log-in account ( BUILTIN\Administrators ) :
[quoted text clipped - 8 lines]
>
> What could be going on ?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.