Commit 593aec60 authored by Mike Hibler's avatar Mike Hibler

Oops, don't forget to save the state (-S) of the history tables.

parent d4e1a8f3
......@@ -172,6 +172,15 @@ if ($options{"S"}) {
}
}
}
# We always save the history tables content regardless of -H
while (my ($table, $clist) = each %history_tables) {
foreach my $column (@$clist) {
if (system("mysqldump $dumpopts -w \"$column='$node'\" tbdb $table >> $savefile")) {
print STDERR "*** Failed to save $table info for $node, aborting\n";
exit(1);
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment