Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Restore backup in network path

Author  Topic 

amirs
Constraint Violating Yak Guru

260 Posts

Posted - 2010-10-20 : 00:02:19
Dear member

i have restore a database to give a backup file in network path but their is following error is diaplay

The Database Engine service could not resolve the specified file location. Either the location does not exist, or the current login account does not have access to it. Verify that the file location exists, and that the login account has permissions on it.

the file location is correct . i have full right to access this folder in network path.
and i have check this account in sql server agent log on property it is administrative rights.

so please tell me what is error

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-10-20 : 00:14:22
Does the SQL Server service account have permissions to the network share? Not the Agent account, it's the main service that matters here.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

amirs
Constraint Violating Yak Guru

260 Posts

Posted - 2010-10-20 : 00:54:37
thanks to replay mam
it is correct and it is work.
one another question
I am using a sql2008 my database backup size is 11 GB and mdf file size of this database is near about 19 GB and log filesize is 1.5 GB . so it is correct.
it my knowledge the backup size of database is near to mdf file size of database.
so please guide it is correct or wrong
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-10-20 : 01:11:35
The backup file size will be about the same size as the used portion of the data file, presuming you are using native backups without compression.

The error is clear. It's either a path problem or a permissions problem.

Run xp_cmdshell with dir command against your path. That will use the same account as the restore. Let us know what you get.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

amirs
Constraint Violating Yak Guru

260 Posts

Posted - 2010-10-20 : 01:16:33
yes error is clear it is permission problem
Go to Top of Page
   

- Advertisement -