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: Select all
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;