fix hardcoded db name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f66405ce90
commit
f5b0b58a79
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user