do not dump/restore isnm_perf* tables

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav
2011-11-15 12:18:45 +00:00
parent 7c5c6e163c
commit 03db3ab47f
2 changed files with 16 additions and 1 deletions
+8 -1
View File
@@ -68,7 +68,14 @@ foreach my $table (@output)
}
next;
}
# skip and table in the site.skiptables attribute
# skip ISNM tables except isnm_config
if ( $table =~ /^isnm_perf/ ) {
if ($::DUMPVERBOSE) {
xCAT::MsgUtils->message("I", "Skipping $table\n");
}
next;
}
# skip any table in the site.skiptables attribute
if (grep(/^$table$/, @skiptbls)) {
if ($::DUMPVERBOSE) {
xCAT::MsgUtils->message("I", "Skipping $table\n");
+8
View File
@@ -71,6 +71,14 @@ foreach my $table (@files)
}
next;
}
# skip ISNM tables except isnm_config
if ( $table =~ /^isnm_perf/ ) {
if ($::DUMPVERBOSE) {
xCAT::MsgUtils->message("I", "Skipping $table\n");
}
next;
}
# skip and table in the site.skiptables attribute
if (@skiptbls) {
my ($tmptable,$suffix) = split(/\./,$table);