change dumpxCATdb to use new -f interface to tabdump to allow large table backup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-05-11 19:25:01 +00:00
parent 8d17e7e2b6
commit 1213728ce1

View File

@ -57,7 +57,8 @@ foreach my $table (@output)
next;
}
$cmd = "tabdump $table > $::PATH/$table.csv";
#$cmd = "tabdump $table > $::PATH/$table.csv";
$cmd = "tabdump -f $::PATH/$table.csv $table";
my @errout = xCAT::Utils->runcmd($cmd, 0);
if ($::RUNCMD_RC != 0)
{ # error