Hi, looks like you're backing up '/', but also have the '--one-file-system' option enabled. As probably most of the interesting folders below root are mounted, that option results in rsync ignoring all of them and you get empty backups. See https://github.com/backuppc/backuppc/issues/437
Regards, Guillermo On Mon, Jun 2, 2025, 20:13 Matthew Pounsett <m...@conundrum.com> wrote: > I'm trying to track down why we seem to be getting empty backups on our > backuppc server. What's weird is that we have no errors. There doesn't > seem to be a debug setting for logs, and I think I've run out of things to > look at. > > Some recent FULL backups have completed in around 10 seconds, which is > impossible. We're using rsync over ssh, and have a small selection of > excluded directories in order to avoid some things that are either too big, > too volatile, or already have redundancies. > > I can ssh from the backuppc server to the clients as the backuppc user > (although I haven't seen such errors, so no surprise that works). I'm also > not getting the sort of errors I'd expect if sudo were broken, but just in > case I opened up the sudoers rule on a target server to allow rsync with > any arguments, but no change in behaviour. > > Here are the config options I can find that look like they might be > relevant. I've also included the current log for the client I've been > testing with, including a couple of attempted full backups. > > What am I missing here? > > $Conf{XferMethod} = 'rsync'; > $Conf{RsyncClientPath} = 'sudo /usr/bin/rsync'; > $Conf{RsyncBackupPCPath} = '/usr/libexec/backuppc-rsync/rsync_bpc'; > $Conf{RsyncSshArgs} = [ > '-e', > '$sshPath -l backuppc' > ]; > $Conf{RsyncShareName} = [ > '/' > ]; > $Conf{RsyncArgs} = [ > '--super', > '--recursive', > '--protect-args', > '--numeric-ids', > '--perms', > '--owner', > '--group', > '-D', > '--times', > '--links', > '--hard-links', > '--delete', > '--delete-excluded', > '--one-file-system', > '--partial', > '--log-format=log: %o %i %B %8U,%8G %9l %f%L', > '--stats' > ]; > $Conf{RsyncArgsExtra} = []; > $Conf{RsyncFullArgsExtra} = [ > '--checksum' > ]; > $Conf{RsyncIncrArgsExtra} = []; > $Conf{BackupFilesExclude} = { > '*' => [ > '/bigfs*', > '/data', > '/dev', > '/mnt', > '/pool*', > '/proc', > '/run', > '/sys', > '/var/lib/postgresql', > '/var/tmp' > ] > }; > > > 2025-06-01 06:00:00 incr backup started for directory / > 2025-06-01 06:00:13 incr backup 1895 complete, 3767 files, 195896461 > bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other) > 2025-06-01 06:00:13 Removing unfilled backup 1877 > 2025-06-01 06:00:13 BackupPC_backupDelete: removing #1877 > 2025-06-01 06:00:13 BackupPC_backupDelete: No prior backup for merge > 2025-06-01 06:01:03 BackupPC_refCountUpdate: host host.example.com got 0 > errors (took 50 secs) > 2025-06-01 06:01:03 Finished BackupPC_backupDelete, status = 0 (running > time: 50 sec) > 2025-06-02 06:00:01 incr backup started for directory / > 2025-06-02 06:00:08 incr backup 1896 complete, 3767 files, 195896461 > bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other) > 2025-06-02 06:00:08 Removing unfilled backup 1878 > 2025-06-02 06:00:08 BackupPC_backupDelete: removing #1878 > 2025-06-02 06:00:08 BackupPC_backupDelete: No prior backup for merge > 2025-06-02 06:00:57 BackupPC_refCountUpdate: host host.example.com got 0 > errors (took 48 secs) > 2025-06-02 06:00:57 Finished BackupPC_backupDelete, status = 0 (running > time: 49 sec) > 2025-06-02 20:42:01 full backup started for directory / > 2025-06-02 20:42:59 full backup 1897 complete, 3766 files, 144820510 > bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other) > 2025-06-02 20:42:59 Removing unfilled backup 1880 > 2025-06-02 20:42:59 BackupPC_backupDelete: removing #1880 > 2025-06-02 20:42:59 BackupPC_backupDelete: No prior backup for merge > 2025-06-02 20:43:48 BackupPC_refCountUpdate: host host.example.com got 0 > errors (took 49 secs) > 2025-06-02 20:43:48 Finished BackupPC_backupDelete, status = 0 (running > time: 49 sec) > 2025-06-02 21:04:47 full backup started for directory / > 2025-06-02 21:04:50 full backup 1898 complete, 3766 files, 144820553 > bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other) > _______________________________________________ > 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/