From 248b150599d21f6c1881166a4629263ec9079341 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Fri, 15 May 2015 15:08:09 +0200 Subject: [PATCH] Update backup skriptu --- backup_prod_db.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backup_prod_db.sh b/backup_prod_db.sh index 99bc5429..e31512a5 100755 --- a/backup_prod_db.sh +++ b/backup_prod_db.sh @@ -1,10 +1,10 @@ #!/bin/bash -DBNAME=mam -FNAME=backup-db/$DBNAME-prod-`date '+%F-%T'`.bz2 +DBNAME=mam-prod +FNAME=backup-db/$DBNAME-`date '+%F-%T'`.bz2 echo Backing up production DB $DBNAME to $FNAME ... -pg_dump $DBNAME | bzip2 -9 > $FNAME +pg_dump $DBNAME -U mam | bzip2 -9 > $FNAME echo Done.