/[BackupPC]/trunk/bin/BackupPC_recover_from_increments
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/BackupPC_recover_from_increments

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 349 by dpavlin, Tue Mar 7 16:24:26 2006 UTC revision 352 by dpavlin, Wed Apr 26 11:10:48 2006 UTC
# Line 54  die "host '$host' is not found, please a Line 54  die "host '$host' is not found, please a
54    
55  # create restore host configuration  # create restore host configuration
56    
57  my $restore_path = "$Conf{InstallDir}/$Conf{GzipTempDir}/${host}-restore.tar.gz";  my $restore_path = "$Conf{InstallDir}/$Conf{GzipTempDir}/restore.tar.gz";
58    
59  my $conf_restore = <<'_END_OF_CONF_';  my $conf_restore = <<'_END_OF_CONF_';
60    
# Line 64  $Conf{TarShareName} = '__share__'; Line 64  $Conf{TarShareName} = '__share__';
64  $Conf{TarFullArgs} = 'echo "full backups are not supported in restore!" ; exit 1';  $Conf{TarFullArgs} = 'echo "full backups are not supported in restore!" ; exit 1';
65  $Conf{TarIncrArgs} = '';  $Conf{TarIncrArgs} = '';
66    
67  # fake ping when restoring  # disable ping
68  $Conf{PingCmd} = '$pingPath -c 1 localhost',  $Conf{PingCmd} = '';
69    # work-around for Backup aborted because of CorrectHostCheck
70    $Conf{FixedIPNetBiosNameCheck} = 0;
71    $Conf{NmbLookupCmd} = '';
72  $Conf{ClientNameAlias} = 'localhost';  $Conf{ClientNameAlias} = 'localhost';
73    
74  $Conf{TarClientCmd} = 'zcat __restore_path__';  $Conf{TarClientCmd} = 'zcat __restore_path__';

Legend:
Removed from v.349  
changed lines
  Added in v.352

  ViewVC Help
Powered by ViewVC 1.1.26