Without modifying the code you can't do that. You could create two virtual hosts, one that can be direct restored and the other that can't.Craig i was trying to change this file to add this: /usr/local/BackupPC/lib/BackupPC/Xfer/Rsync.pm in the sub start after : sub start i added this: my $remoteDir = "$t->{shareName}/$t->{pathHdrDest}"; but the code just fail and prevent the restoring in any case. Of course i am not a dev so my perl is an 'cut and paste from how-to' type :( Anyone would like to help ? the goal is to verify that the restoredir start by one of the share we want to limit to. The idea is to have in the config file: $rsyncRestoreLimitToShare = [ '/var','/etc']; so backuppc does not allow to restore anywere else. Anyone interested to help ? --
Cordialement, Ghislain |
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/