From: Dobrica Pavlinusic Date: Thu, 27 Jan 2011 22:40:28 +0000 (+0100) Subject: push host to archive so import and index update will be triggerd X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=commitdiff_plain;h=2882389fd26bdc2b3b52157edef5ae216db8f407 push host to archive so import and index update will be triggerd --- diff --git a/bin/BackupPC_ASA_ArchiveStart b/bin/BackupPC_ASA_ArchiveStart index 14209c4..ddca804 100755 --- a/bin/BackupPC_ASA_ArchiveStart +++ b/bin/BackupPC_ASA_ArchiveStart @@ -111,7 +111,8 @@ foreach ( @HostFilter ) { $sth->execute( $host ); if ( $sth->rows == 0 ) { warn "no backups to archive on $host\n"; - next; + push @HostList, $host; + push @BackupList, 0; # fake, but will make full-text update } while ( my $row = $sth->fetchrow_hashref ) {