From 4b7f92d496c3b04b031590c9997f3db0842f4177 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 25 Oct 2011 16:58:10 +0000 Subject: [PATCH] Do not snap ISNM tables except config, too big git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatsnap | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatsnap b/xCAT-server/sbin/xcatsnap index 56d15e00e..b9004787c 100755 --- a/xCAT-server/sbin/xcatsnap +++ b/xCAT-server/sbin/xcatsnap @@ -254,7 +254,11 @@ sub snap_it { print "Retrieving xCAT database...\n"; $output_dir = "$logDirectory/xcat-database/"; make_output_dir(); - `dumpxCATdb -p $output_dir`; + # do not snap the ISNM tables, too big + my $cmd; + $cmd="XCAT_SKIPTABLES=isnm_perf,isnm_perf_dlink,isnm_perf_dlink_sum,isnm_perf_hfi,isnm_perf_hfi_sum,isnm_perf_isr,isnm_perf_isr_sum,isnm_perf_lllink,isnm_perf_lllink_sum,isnm_perf_lrlink,isnm_perf_lrlink_sum,isnm_perf_sum"; + $cmd .= " dumpxCATdb -p $output_dir"; + `$cmd`; print "xCAT database retrieved.\n"; } `rm /tftpboot/tftpboot.list`; # remove temp list