/[BackupPC]/trunk/bin/BackupPC_restore
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_restore

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

revision 315 by dpavlin, Wed Jun 22 19:12:42 2005 UTC revision 316 by dpavlin, Mon Jan 30 13:37:17 2006 UTC
# Line 29  Line 29 
29  #  #
30  #========================================================================  #========================================================================
31  #  #
32  # Version 2.1.0, released 20 Jun 2004.  # Version 2.1.2, released 5 Sep 2005.
33  #  #
34  # See http://backuppc.sourceforge.net.  # See http://backuppc.sourceforge.net.
35  #  #
# Line 186  if ( (my $errMsg = CorrectHostCheck($hos Line 186  if ( (my $errMsg = CorrectHostCheck($hos
186  #  #
187  # Setup file extension for compression and open RestoreLOG output file  # Setup file extension for compression and open RestoreLOG output file
188  #  #
189  $Conf{CompressLevel} = 0 if ( !BackupPC::FileZIO->compOk );  if ( $Conf{CompressLevel} && !BackupPC::FileZIO->compOk ) {
190        $stat{hostError} = "Compress:Zlib not found";
191        exit(RestoreCleanup($client));
192    }
193  my $fileExt = $Conf{CompressLevel} > 0 ? ".z" : "";  my $fileExt = $Conf{CompressLevel} > 0 ? ".z" : "";
194  my $RestoreLOG = BackupPC::FileZIO->open("$Dir/RestoreLOG$fileExt", 1,  my $RestoreLOG = BackupPC::FileZIO->open("$Dir/RestoreLOG$fileExt", 1,
195                                       $Conf{CompressLevel});                                       $Conf{CompressLevel});

Legend:
Removed from v.315  
changed lines
  Added in v.316

  ViewVC Help
Powered by ViewVC 1.1.26