/[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 345 by dpavlin, Tue Mar 7 10:48:28 2006 UTC revision 346 by dpavlin, Tue Mar 7 14:03:09 2006 UTC
# Line 90  sub restore_increment { Line 90  sub restore_increment {
90          if (-e $restore_path) {          if (-e $restore_path) {
91                  unlink $restore_path || die "can't remove $restore_path: $!\n";                  unlink $restore_path || die "can't remove $restore_path: $!\n";
92          }          }
93          link $path, $restore_path || die "can't create link $path -> $restore_path: $!\n";          symlink $path, $restore_path || die "can't create link $path -> $restore_path: $!\n";
94    
95          my $user = $host_info->{$host}->{user} || die "can't get user for host $host";          my $user = $host_info->{$host}->{user} || die "can't get user for host $host";
96    

Legend:
Removed from v.345  
changed lines
  Added in v.346

  ViewVC Help
Powered by ViewVC 1.1.26