If the whole share is empty, that is considered indistinguishable from a
general failure. You can control that with
$Conf{BackupZeroFilesIsFatal}. Check the docs for more details.
JH
Brendan Simon wrote:
> I'm getting a fatal error when backing up an empty directory.
> BackupPC server is running Debian Sarge (backuppc 2.1.1-2sarge2)
> Server being backed up is running Debian Etch (rsync 2.6.9-2)
>
> Surely it must be legitimate to backup up an empty directory. Is this a
> bogus error message or maybe rsync rysnc returns an error code that
> older backuppc versions don't handle correctly ???
>
> Any ideas how to fix this (besides removing the share from the backup
> list) ???
>
> Done: 89 files, 26547311 bytes
> Running: /usr/bin/ssh -q -x -l root chief /usr/bin/rsync --server
> --sender --numeric-ids --perms --owner --group -D --links --times
> --block-size=2048 --recursive --one-file-system --ignore-times . /srv/
> Xfer PIDs are now 3934
> Got remote protocol 29
> Xfer PIDs are now 3934,3935
> create d 755 0/0 4096 .
> Done: 0 files, 0 bytes
> Running: /usr/bin/ssh -q -x -l root chief /usr/bin/rsync --server
> --sender --numeric-ids --perms --owner --group -D --links --times
> --block-size=2048 --recursive --one-file-system --ignore-times . /opt/
> Xfer PIDs are now 3936
> Got remote protocol 29
> Xfer PIDs are now 3936,3937
> create d 755 0/0 4096 .
> Done: 0 files, 0 bytes
> Running: /usr/bin/ssh -q -x -l root chief /usr/bin/rsync --server
> --sender --numeric-ids --perms --owner --group -D --links --times
> --block-size=2048 --recursive --one-file-system --ignore-times . /initrd/
> Xfer PIDs are now 3938
> Got remote protocol 29
> Xfer PIDs are now 3938,3939
> create d 755 0/0 4096 .
> Done: 0 files, 0 bytes
> Running: /usr/bin/ssh -q -x -l root chief /usr/bin/rsync --server
> --sender --numeric-ids --perms --owner --group -D --links --times
> --block-size=2048 --recursive --one-file-system --ignore-times . /emul/
> Xfer PIDs are now 3940
> Got remote protocol 29
> Xfer PIDs are now 3940,3941
> <snip>
> Done: 247 files, 6989413 bytes
> Got fatal error during xfer (No files dumped for share /srv)
> Backup aborted (No files dumped for share /srv)
>
>
>
> Thanks,
> Brendan.
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/