push host to archive so import and index update will be triggerd
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 27 Jan 2011 22:40:28 +0000 (23:40 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 27 Jan 2011 22:40:28 +0000 (23:40 +0100)
bin/BackupPC_ASA_ArchiveStart

index 14209c4..ddca804 100755 (executable)
@@ -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 ) {