From f5b0b58a7955045190245b0f047e2a4449c23bde Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 1 Jun 2012 15:19:21 +0000 Subject: [PATCH] fix hardcoded db name git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/sbin/dumpxCATdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/sbin/dumpxCATdb b/xCAT-client/sbin/dumpxCATdb index 012010650..af1c8a0b7 100644 --- a/xCAT-client/sbin/dumpxCATdb +++ b/xCAT-client/sbin/dumpxCATdb @@ -309,7 +309,7 @@ sub PG_bindump # create backup file name my $backupfile="$::PATH/pgbackup.$$"; - my $cmd="$pgcmddir/pg_dump xcatdb -f $backupfile -U postgres -F custom"; + my $cmd="$pgcmddir/pg_dump $dbname -f $backupfile -U postgres -F custom"; my $info=xCAT::Utils->runcmd($cmd, -1); if ($::RUNCMD_RC != 0) { xCAT::MsgUtils->message("E", "$cmd failed");