Tag Info

New answers tagged

0

I would do this Find out exactly where pg_basebackup is #> which pg_basebackup Then add in the full paths in your cron job BACKUP_PATH=/path/to/backup/$(date +%F) /path/to/pg_basebackup/pg_basebackup -D $BACKUP_PATH -Ft -z -v 2>&1 | ts '%F %T %Z' &> $BASEBACKUP_LOG Cron needs the full path to execute commands in the correct context. ...



Top 50 recent answers are included