Le 16/09/2022 à 00:33, Frédéric Mathy a écrit :
Hi,

A few months ago on debian bullseye, I updated backuppc to 4.4.0-3 (rsync_bcp 3.1.3.0)
Everything seemed to be fine with the rsync method via SSH on port 2022.
After several months, I discover that some directories remain empty and others are no longer updated (new files and new subdirectories not taken into account).

I don't have any error messages in the logs so I don't know where to look...

A problem with BackupFilesExclude ? with RsyncSshArgs ?

My configurations are like this:
$Conf{RsyncShareName} = [
   '/'
];
$Conf{FullKeepCnt} = [
   3,
   0,
   1,
   1,
   1
];
$Conf{FullKeepCntMin} = 6;
$Conf{IncrKeepCnt} = 7;
$Conf{IncrKeepCntMin} = 3;
$Conf{BackupFilesExclude} = {
   '*' => [
     'tmp/*',
     'sys/*',
     'run/*',
     'proc/*',
     'mnt/*',
     'media/*',
     '.hidden/*',
     'dev/*',
     'var/cache/*',
     'var/spool/*',
     'var/run/*',
     'var/lock/*',
     'home/log/*',
   ]
};
$Conf{BackupFilesOnly} = {};

$Conf{FullAgeMax} = 600;
$Conf{BackupsDisable} = 0;

$Conf{IncrAgeMax} = 7;
$Conf{BackupPCNightlyPeriod} = 1;

$Conf{PingCmd} = '/bin/echo';

$Conf{RsyncSshArgs} = [
   '-e',
   '$sshPath -l root -p2022'
];

Any idea to help me?

Thanks

Fred


_______________________________________________
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/

Hello, in my experience I avoid globing sub-directories using "*" with Backuppc 4, if I want to exclude "/var/foo" I just use:
'/var/foo'
in the config, not '/var/foo/*'. this way I don't end up with empty directories and many strange errors disappeared. Also I noticed that if a sub-directory is explicitly setup in "$Conf{BackupFilesOnly}", the other sub-directories won't be backed up. i.e. if '/var/log' and '/var/mail' are setup in "$Conf{BackupFilesOnly}", then no other sub-directories under /var/ will be backed up, even though they are not explicitly excluded in "$Conf{BackupFilesExclude}" .

Hope it helps.


_______________________________________________
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