Well, to avoid the error state in backuppc I added "--ignore-failed-
read" to the tar command in localhost.pl [1]:

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName'
                        . ' --totals --ignore-failed-read';

The fact is backuppc makes backup of localhost under "backuppc" system
user, not a sudoer one, not root (see the comment in localhost.pl...). I
don't know if this is right or not, but it's good to know that those
files (passwd, shadow, group, etc.), aren't copied in the process.

[1] http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-
mailing-lists-3/backuppc-21/tar-error-512-68957/

Regards

-- 
Tar exited with error 512 () status
https://bugs.launchpad.net/bugs/497732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to backuppc in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to