BackupPC-users

[BackupPC-users] Restoring on localhost

2009-04-03 05:41:08
Subject: [BackupPC-users] Restoring on localhost
From: Saman Behnam <sbehnam73 AT yahoo DOT de>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 03 Apr 2009 11:34:53 +0200

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!


sbehnam73 AT yahoo DOT de



------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] Restoring on localhost, Saman Behnam <=