/[BackupPC]/trunk/bin/BackupPC_incPartsUpdate
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_incPartsUpdate

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

revision 161 by dpavlin, Mon Oct 10 13:39:10 2005 UTC revision 162 by dpavlin, Mon Oct 10 13:39:14 2005 UTC
# Line 19  my $tarIncCreate = $path .= 'BackupPC_ta Line 19  my $tarIncCreate = $path .= 'BackupPC_ta
19    
20  die "can't find $tarIncCreate: $!\n" unless (-x $tarIncCreate);  die "can't find $tarIncCreate: $!\n" unless (-x $tarIncCreate);
21    
22  my $debug = 1;  my $debug = 0;
23  $|=1;  $|=1;
24    
25  my $start_t = time();  my $start_t = time();
# Line 93  while (my $row = $sth->fetchrow_hashref) Line 93  while (my $row = $sth->fetchrow_hashref)
93    
94          my $size = (stat( "$tar_dir/$tar_file" ))[7];          my $size = (stat( "$tar_dir/$tar_file" ))[7];
95    
96          print fmt_time(time() - $t)," $size bytes\n";          print " dur: ",fmt_time(time() - $t)," $size bytes\n";
97    
98          $sth_inc_size->execute($size, $row->{'backup_id'});          $sth_inc_size->execute($size, $row->{'backup_id'});
99    

Legend:
Removed from v.161  
changed lines
  Added in v.162

  ViewVC Help
Powered by ViewVC 1.1.26