You should not remove the environment setting (/usr/bin/env LC_ALL=C )
as this is important for backuppc to understand the output of tar, if
the system language is not English.

In localhost.pl you should have:

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

Otherwise, if your systems default language is not English, backuppc
will not understand what tar is saying in your language and you will see
an error like:

Running: /usr/bin/sudo /bin/tar -c -v -f - -C /etc --totals .
full backup started for directory /etc
Xfer PIDs are now 11679,11678
[ skipped 2977 lines ]
Gesamtzahl geschriebener Bytes: 10465280 (10MiB, 2,7MiB/s)
[ skipped 240 lines ]
tarExtract: Done: 0 errors, 2828 filesExist, 7357656 sizeExist, 2282752 
sizeExistComp, 2877 filesTotal, 8329812 sizeTotal
Got fatal error during xfer (Gesamtzahl geschriebener Bytes: 10465280 (10MiB, 
2,7MiB/s))
Backup aborted (Gesamtzahl geschriebener Bytes: 10465280 (10MiB, 2,7MiB/s))
Saving this as a partial backup

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/497732

Title:
  backuppc errors: "Tar exited with error 512 ()" due to read permission
  failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/497732/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to