/[BackupPC]/trunk/bin/BackupPC_tarIncCreate
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_tarIncCreate

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

revision 261 by dpavlin, Mon Dec 12 21:11:17 2005 UTC revision 271 by dpavlin, Tue Dec 13 18:29:05 2005 UTC
# Line 252  sub new_tar_part { Line 252  sub new_tar_part {
252          if ($fh) {          if ($fh) {
253                  return if ($current_tar_size == 0);                  return if ($current_tar_size == 0);
254    
255                  print STDERR " $part";                  print STDERR "\n\t+ $part:";
256    
257                  #                  #
258                  # Finish with two null 512 byte headers,                  # Finish with two null 512 byte headers,
# Line 271  sub new_tar_part { Line 271  sub new_tar_part {
271    
272                  my $size = (stat( $file . '.tar.gz' ))[7] || die "can't stat ${file}.tar.gz";                  my $size = (stat( $file . '.tar.gz' ))[7] || die "can't stat ${file}.tar.gz";
273    
274                    print "$file, $size bytes, $items_in_part items";
275    
276                  $sth_backup_parts->execute(                  $sth_backup_parts->execute(
277                          $backup_id,                          $backup_id,
278                          $part,                          $part,
# Line 312  sub new_tar_part { Line 314  sub new_tar_part {
314                                  $backup_id                                  $backup_id
315                          );                          );
316    
317                          print STDERR ", $total_increment_size bytes\n" if ($opts{v});                          print "\n\ttotal $total_increment_size bytes";
318    
319                          return;                          return;
320                  }                  }

Legend:
Removed from v.261  
changed lines
  Added in v.271

  ViewVC Help
Powered by ViewVC 1.1.26