130 error (access is denied.)
kimo
Posts: 3
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?
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?
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;
Comments
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Right on the money. The backup agent was using the local system account once changed the warnings disappeared.