Skip to content

Commit

Permalink
Merge pull request #52 from AlbertoRamirezLosilla/master
Browse files Browse the repository at this point in the history
#51: restored last 3 lines in postgres dump
  • Loading branch information
douglascrp authored Dec 20, 2019
2 parents 41e28a3 + 9de0705 commit ad1e41a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/alfresco-bart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ function dbBackup {
$PGSQL_BINDIR/$PGSQLDUMP_BIN -Fc -w -h $DBHOST -U $DBUSER $DBNAME > $LOCAL_BACKUP_DB_DIR/$DBNAME.sql.Fc
echo "`date +%F-%X` - $BART_LOG_TAG Running command - $DUPLICITYBIN $PARAMS $LOCAL_BACKUP_DB_DIR $DEST/db" >> $ALFBRT_LOG_FILE
$DUPLICITYBIN $PARAMS $LOCAL_BACKUP_DB_DIR $DEST/db >> $ALFBRT_LOG_FILE
echo "`date +%F-%X` - $BART_LOG_TAG cleaning DB backup" >> $ALFBRT_LOG_FILE
rm -fr $LOCAL_BACKUP_DB_DIR/$DBNAME.sql.Fc
echo "`date +%F-%X` - $BART_LOG_TAG DB backup finished" >> $ALFBRT_LOG_FILE
;;

"oracle" )
Expand Down

0 comments on commit ad1e41a

Please sign in to comment.