restore eventlog and auditlog only with -a flag, restore no x_teal tables

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-04-19 13:55:14 +00:00
parent 01ec2d24ec
commit 4debb433e3

View File

@ -57,6 +57,14 @@ foreach my $table (@files)
}
next;
}
# skip teal tables
if ( $table =~ /^x_teal/ ) {
if ($::VERBOSEREST) {
xCAT::MsgUtils->message("I", "Skipping $table\n");
}
next;
}
my $cmd = "tabrestore $tablename";
my @errout = xCAT::Utils->runcmd($cmd, 0);
if ($::RUNCMD_RC != 0)