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)
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/
On 3/11/21 2:29 PM, Adam Goryachev via BackupPC-users wrote:
On 12/3/21 00:03, Dave Sherohman wrote:
If I were to set $Conf{MaxBackups} = 1 for one specific host, how
would that be handled? Would it prevent that specific host from
running backups unless there are no other backups in progress? Would
it prevent any other backups from being started before that host
finished? Would it do both? Or is that an inherently-global setting
that has no effect if set for a single host?
My use-case here is that I've got a lot of linux hosts and a handful
of windows machines. The linux hosts work great with standard
ssh/rsync configuration, no problems there.
The windows machines, on the other hand, are using a windows backuppc
client that our windows admin found on sourceforge and it's having...
problems... with handling shadow volumes. As in it appears to be
failing to create them, which causes backup runs to take many hours
as it waits for "device or resource busy" files to time out. Which
ties up available slots in the MaxBackups limit and prevents the
linux machines from being scheduled.
So I'm thinking that it might work to temporarily set the windows
hosts to MaxBackups = 1, if that would prevent multiple windows hosts
from running at the same time and free up slots for the linux hosts
to run. If it would also prevent linux hosts from running when a
windows host is in progress, though, then that would just make things
worse.
Or is there some other way I could specify "run four backups at once,
BUT only one of these six can run at a time (alongside three others
which aren't in that group)"?
I'm pretty sure this has been discussed before, and is not possible.
However, I would suggest spending a bit more time to resolve the
issues with the windows server backups. There is an updated set of
instructions posted recently to the list (check the archives), if you
need some help to get something working, the list is a great place to
ask. Once it works, the windows machines will backup equally as well
as the Linux ones.
HTH
Regards,
Adam
_______________________________________________
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/
_______________________________________________
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/