Dave Sherohman wrote at about 15:14:01 +0100 on Thursday, March 11, 2021:
 > I'm just the linux admin around here, but the windows admin is working 
 > on it.  At this point, I'm mostly just looking for a workaround for 
 > until he figures it out.  Plan B for dealing with it is to reduce the 
 > backup frequency for the windows machines and run some manually to 
 > spread them out so they run on different days.  But that's undesirable, 
 > since it means they're going multiple days between backups, of course.
 > 
 > At this point, the extent of what I know about the underlying problem is 
 > that the xferlog shows:
 > 
 > Creates event in log
 > backuppc_start couldn't register event source, error code 5
 >        Logevent not completed after trying for 60000 milliseconds.
 >        The target server or the domain controller might be unavailable.
 >        Hint: Increase the TimeOut parameter or try again later.
 > Waits 30 s while the shadow copies are created and the file 
 > "C:\cygwin\backuppc\rsyncd.pid" is created
 > (repeated a variable number of times)

Sounds like the shadow creation script or your implementation of it is
broken.
Also, why are you using rsyncd? rsync itself is cleaner and generally
more secure as it uses rsa/dsa keys vs. unencrypted secrets.

> 
 > from the prerun script, then a number of "device or resource busy" 
 > errors while doing the actual backup, and finally a repeat of the 
 > "couldn't register event source, error code 5" and a lot of "Waits 60 s 
 > while the file "C:\cygwin\backuppc\shadow_del.pid" is created" when the 
 > postrun script executes.
 > 
 > This is using the windows client from 
 > https://sourceforge.net/p/backuppc-windows-client/code/ci/master/tree/

But bottom line is shadow creation is "tricky" and all of us who have
written such scripts use a collection of tricks and kluges -- some
cleaner than others. For example, my latest version is much better
than my original version from ~10 years ago.


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to