Le 27/10/2020 à 01:36, Craig Barratt via BackupPC-users a écrit :
Ghislain,

This looks like a bug.  It seems that $Conf{DumpPostUserCmd} is run before the 
backups file is re-written with the new backup information. Before that there 
is just a placeholder for the new backup.

You could see if you can fix it by moving the $Conf{UserCmdCheckStatus} run in bin/BackupPC_dump 
(here <https://github.com/backuppc/backuppc/blob/master/bin/BackupPC_dump#L1295>) to after 
the BackupSave() (here 
<https://github.com/backuppc/backuppc/blob/master/bin/BackupPC_dump#L1348>).  You'll also 
need to repeat that code inside the if statement for the case the backup fails (here 
<https://github.com/backuppc/backuppc/blob/master/bin/BackupPC_dump#L1308>).

Craig
Thanks Craig, i 'all have to play with that and retest. Thanks for the heads up 
! :)

--
cordialement,
Ghislain ADNET.
AQUEOS.


_______________________________________________
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