projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
store filename in backup_parts
[BackupPC.git]
/
bin
/
BackupPC_ASA_SearchUpdate
diff --git
a/bin/BackupPC_ASA_SearchUpdate
b/bin/BackupPC_ASA_SearchUpdate
index
034642f
..
e691bd8
100755
(executable)
--- a/
bin/BackupPC_ASA_SearchUpdate
+++ b/
bin/BackupPC_ASA_SearchUpdate
@@
-304,6
+304,7
@@
if ($opt->create) {
md5 text not null,
items int not null check (items > 0),
date timestamp default now(),
md5 text not null,
items int not null check (items > 0),
date timestamp default now(),
+ filename text not null,
primary key(id)
);
primary key(id)
);
@@
-357,8
+358,6
@@
if ($opt->create) {
$dbh->do( qq{ CREATE SEQUENCE $seq } );
}
$dbh->do( qq{ CREATE SEQUENCE $seq } );
}
-=for later
-
print " creating triggers ";
$dbh->do( <<__END_OF_TRIGGER__ );
print " creating triggers ";
$dbh->do( <<__END_OF_TRIGGER__ );
@@
-420,8
+419,6
@@
create trigger do_backup_backup_parts_check
__END_OF_TRIGGER__
__END_OF_TRIGGER__
-=cut
-
print "...\n";
$dbh->commit;
print "...\n";
$dbh->commit;
@@
-598,8
+595,10
@@
foreach my $host_key (@hosts) {
if ($nf + $nd > 0) {
status "$hostname $backupNum full-text | indexing";
if ($nf + $nd > 0) {
status "$hostname $backupNum full-text | indexing";
- eval { hest_update($hostID, $shareID, $backupNum) };
- warn "ERROR: $@" if $@;
+ #eval { hest_update($hostID, $shareID, $backupNum) };
+ #warn "ERROR: $@" if $@;
+ hest_update($hostID, $shareID, $backupNum);
+ # eval breaks our re-try logic
}
}
}
}