July 26, 2022 at 4:18 pm
We have one schedule job which is copying the backup to the offsite server through xcopy. This job successfully run for 4-5 days in a week and failed for 1-2 days due to following error.
Executed as user: service_Account. The step was retried the requested number of times (5) without succeeding. The step failed.
Sharing violation.
Any help would be greatly appreciate!
July 26, 2022 at 6:28 pm
Was the backup it was trying to copy actually finished? If it wasn't, there's your "sharing violation".
If you try to rename a file to what the current name is and it's successful, then nothing else is using the file (and it doesn't change the name to something else because you're using the same name).
If the rename is unsuccessful, the something else is using the file (like a backup not being done yet) and you simply have to wait until it frees up.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2022 at 7:37 am
This was removed by the editor as SPAM
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply