| Author |
Message |
kimo
Joined: 09 Jan 2013 Posts: 2
|
Posted: Wed Jan 09, 2013 6:22 am Post subject: 130 error (access is denied.) |
|
|
Hi all,
Thank you in advance.
I am in the process of moving all native SQL logshipping to backuppro and at the very first attempted I am getting warning error 130 <sharefolder> (access is denied.) during the restore. The restore is successful just the moveto is failing. I can manually move the files to the proccessed folder with the same windows login.
The share folder is not the same as the processed folder. See below.
Any ideas why the files are not moving?
| Code: |
EXECUTE master..sqlbackup '-SQL "RESTORE LOG [AutoCheckIntegration]
FROM DISK = ''\\sql-host\logshipping\autocheck\LOG_AutoCheckIntegration_V5_*.sqb''
WITH STANDBY = ''G:\MSSQL\Backups\UNDO_AutoCheckIntegration.dat'',
DISCONNECT_EXISTING, moveto = ''G:\MSSQL\Backups\''"', @errorcode OUT, @sqlerrorcode OUT; |
|
|
| Back to top |
|
 |
petey
Joined: 24 Apr 2005 Posts: 2215
|
Posted: Wed Jan 09, 2013 2:13 pm Post subject: |
|
|
Does the SQL Backup Agent service startup account have rights to write to the G:\MSSQL\Backups folder? _________________ Peter Yeoh
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 7 |
|
| Back to top |
|
 |
kimo
Joined: 09 Jan 2013 Posts: 2
|
Posted: Thu Jan 10, 2013 1:27 am Post subject: |
|
|
Thank Petey.
Right on the money. The backup agent was using the local system account once changed the warnings disappeared. |
|
| Back to top |
|
 |
|
|
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