Comment 12 for bug 497732

Revision history for this message
Marcelo Fernandez (fernandezm) wrote : Re: Tar exited with error 512 () status

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