From 7b3414cfa44c95c99f75f45577176153829c5bfd Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 15 Nov 2011 12:13:36 +0000 Subject: [PATCH] do not restore isnm tables, except isnm_config git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/sbin/restorexCATdb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xCAT-client/sbin/restorexCATdb b/xCAT-client/sbin/restorexCATdb index 9f4bf5f5f..88000abe6 100644 --- a/xCAT-client/sbin/restorexCATdb +++ b/xCAT-client/sbin/restorexCATdb @@ -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);