Hi list,

to make restoring (locally) on localhost in the BackupPC WebGUI possible
I had to edit


"/etc/backuppc/localhost.pl" and add the line:


# This is to make local restoring possible
$Conf{TarClientRestoreCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo
$tarPath -x -p -v -f - -C $shareName'
.. ' --totals';


I also had to add the following line to "sudoers" :


# This is for backuppc to make local restore working:
backuppc ALL=NOPASSWD: /bin/tar


Have fun!


[email protected]



------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to