From 2882389fd26bdc2b3b52157edef5ae216db8f407 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 27 Jan 2011 23:40:28 +0100 Subject: [PATCH] push host to archive so import and index update will be triggerd --- bin/BackupPC_ASA_ArchiveStart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) { -- 2.20.1