Do not snap ISNM tables except config, too big

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav
2011-10-25 16:58:42 +00:00
parent b8b5793bf4
commit 3cc995c63b
+5 -1
View File
@@ -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