From 4debb433e33e32085fbce4b3875e9d21f0468d33 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 19 Apr 2011 13:55:14 +0000 Subject: [PATCH] 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 --- xCAT-client/sbin/restorexCATdb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xCAT-client/sbin/restorexCATdb b/xCAT-client/sbin/restorexCATdb index b7f852eb0..7d5ae8a3d 100644 --- a/xCAT-client/sbin/restorexCATdb +++ b/xCAT-client/sbin/restorexCATdb @@ -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)