Hi,
On alternate days my backup is failing, by the pg_stop_backup process ()
does not perform or quit.
Version PostgreSQL: 9.1.6
The following backup script:
PGDATA=/dados
SAVE_BASE_DIR=/backup/diario
backup="'bkpfull'"
data=$(date +'%d%m%y')
WAL_DIR=/backup/archive
mv $WAL_DIR/* $WAL_DIR/wal_anterior
psql -U postgres -h localhost -c 'select pg_start_backup('$backup',true);'
template1 && \
tar -czvf $SAVE_BASE_DIR/$data.tar.gz $PGDATA && psql -U postgres -h
localhost -c 'select pg_stop_backup();' template1
--
View this message in context: http://postgresql.nabble.com/Pg-stop-backup-process-does-not-run-Backup-Intervals-tp5901538.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.