added TarShareName to re-create share name
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@349
8392b6e1-25fa-0310-8288-
cc32f8e212ea
use BackupPC::Lib;
my $host = 'restore';
+my $share = '/etc';
# connect to BackupPC_server
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} = '';
_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";