--- trunk/bin/BackupPC_recover_from_increments 2006/03/07 16:14:49 348 +++ trunk/bin/BackupPC_recover_from_increments 2006/03/07 16:24:26 349 @@ -27,6 +27,7 @@ use BackupPC::Lib; my $host = 'restore'; +my $share = '/etc'; # connect to BackupPC_server @@ -58,6 +59,7 @@ my $conf_restore = <<'_END_OF_CONF_'; $Conf{XferMethod} = 'tar'; +$Conf{TarShareName} = '__share__'; $Conf{TarFullArgs} = 'echo "full backups are not supported in restore!" ; exit 1'; $Conf{TarIncrArgs} = ''; @@ -73,6 +75,7 @@ _END_OF_CONF_ $conf_restore =~ s/__restore_path__/$restore_path/gs; +$conf_restore =~ s/__share__/$share/gs; my $config_file = "$bpc->{TopDir}/conf/${host}.pl";