[Bug 497732] Re: Tar exited with error 512 () status
Wayne Law
wayne_law at hotmail.com
Tue Feb 14 05:49:02 UTC 2012
Just installed 10.04 LTS on a new box and had the exact same problem.
The following seems to fix this error.
In the localhost.pl file located in /etc/backuppc change the
tarClientCmd from
$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName'
. ' --totals';
to
$Conf{TarClientCmd} = '/usr/bin/sudo $tarPath -c -v -f - -C $shareName
--totals';
in the sudoers file located in /etc add the following
backuppc ALL = NOPASSWD: /bin/tar
I am assuming you are still using the default user "backuppc" and this
will allow backuppc to run sudo in the /bin/tar directory without a
password.
Seemed to work ok for me.
/Wayne
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to backuppc in Ubuntu.
https://bugs.launchpad.net/bugs/497732
Title:
Tar exited with error 512 () status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/497732/+subscriptions
More information about the Ubuntu-server-bugs
mailing list