/[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 270 by dpavlin, Tue Dec 13 18:08:50 2005 UTC revision 271 by dpavlin, Tue Dec 13 18:29:05 2005 UTC
# Line 298  my $num_backups = $sth->rows; Line 298  my $num_backups = $sth->rows;
298  my $curr_backup = 1;  my $curr_backup = 1;
299    
300  while (my $row = $sth->fetchrow_hashref) {  while (my $row = $sth->fetchrow_hashref) {
301    
302            $curr_backup++;
303    
304          my $tar_file = BackupPC::SearchLib::getGzipName($row->{'host'}, $row->{'share'}, $row->{'num'});          my $tar_file = BackupPC::SearchLib::getGzipName($row->{'host'}, $row->{'share'}, $row->{'num'});
305    
306          # this will return -1 if file doesn't exist          # this will return -1 if file doesn't exist
# Line 313  while (my $row = $sth->fetchrow_hashref) Line 316  while (my $row = $sth->fetchrow_hashref)
316                  }                  }
317          }          }
318    
319          print curr_time, " $curr_backup/$num_backups ", $row->{'host'}, ":", $row->{'share'}, " #", $row->{'num'}, " -> $tar_file";          print curr_time, " creating $curr_backup/$num_backups ", $row->{'host'}, ":", $row->{'share'}, " #", $row->{'num'}, " -> $tar_file";
         $curr_backup++;  
320    
321          my $t = time();          my $t = time();
322    

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

  ViewVC Help
Powered by ViewVC 1.1.26