I tried (and finally succeeded) to do a base backup tonight using pg_basebackup. I was backing up a server that had no
activityon it. The backup connected but no data was transferring, both ends sitting idle. It finally occurred to me
totry a manual checkpoint and it then the backup took off and completed.
According to 24.3 in the docs, pg_start_backup() performs a checkpoint. So I was surpassed that using the pg_baseback
utilityI had to manual kick a checkpoint before the transfer would start.
Is this correct behavior?
alan
fwiw, invocation:
pg_basebackup -P --xlog —host=XXXXX --pgdata=pgsql --user=replicate