Red Gate forums :: View topic - Restore fails, '5(Access is denied.) under admin rights
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Virtual Restore 2
SQL Virtual Restore 2 forum

Restore fails, '5(Access is denied.) under admin rights

Search in SQL Virtual Restore 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
jlange



Joined: 24 Sep 2010
Posts: 2

PostPosted: Fri Sep 24, 2010 6:10 pm    Post subject: Restore fails, '5(Access is denied.) under admin rights Reply with quote

I'm using the wizard to select the hyperbac compressed file and restore it to the existing directory, with the username on the machine being both a local admin and having dbo in SQL Server. I keep running into the following error when the wizard attempts to restore the database:
The operation system returned the error '5(Access is denied.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on <filepath>.

I've verfied that the target location exists and checked that the sql service is running as local system. Any other areas to check? Thanks.
Back to top
View user's profile Send private message
javen



Joined: 25 May 2010
Posts: 50

PostPosted: Fri Sep 24, 2010 11:03 pm    Post subject: Reply with quote

If the backup file is remote to the system you are doing a virtual restore on, then you need to change the HyperBac service account to an account which has full control access to the remote path (eg domain user account). This is the only time you would change the HyperBac service from running as LocalSystem.
Back to top
View user's profile Send private message
jlange



Joined: 24 Sep 2010
Posts: 2

PostPosted: Sat Sep 25, 2010 6:47 pm    Post subject: Reply with quote

The backup file isn't on a remote system, and is located on the same volume where hyperbac made the backup. Is there a internal account hyperbac might be using to perform the restore? Otherwise I'm totally out of ideas. I'm having this problem on another server as well. I'm running windows 2003 enterprise x64 if that helps to bring up any ideas. Thanks.
Back to top
View user's profile Send private message
eddie davis



Joined: 14 Jun 2006
Posts: 941
Location: Red Gate Software

PostPosted: Tue Sep 28, 2010 5:16 pm    Post subject: Reply with quote

Hi

I have just sent a private message to you. I need to create a Support Call for you, as per the private message I sent, can you please send an e-mail to support@red-gate.com with the requested information.

Many Thanks
Eddie
_________________
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group