Parent Directory | Revision Log | 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 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |