Hello Ged,
In BackupPC V4, if a new backup is started, we begin with
BackupPC_backupDuplicate of the last
recent backup number into the new backup number and DumpPreUserCmd will be
called afterwards. This
can have a duration from some seconds till some hours. If the client go to
sleep during this time,
the backup will fail.
I developed a patch to move the call of DumpPreUserCmd before execution of
BackupPC_backupDuplicate
to allow a users DumpPreUserCmd to disable hibernation on client side.
You said it required to use a $Conf{patch-defined-command}.
I can easily implement it in my config.pl and in the BackupPC_dump patch. Would
this be sufficient
to apply it in a master branch?
Or would you expect to put it also in the web UI?
I've done this in 2014 with another patch in BackupPC 3.1. It was a lot of work
and testing 🤭️
Thanks in advance
Matthias
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/