Search Postgresql Archives

pg_basebackup and checkpoints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried (and finally succeeded) to do a base backup tonight using pg_basebackup.  I was backing up a server that had no activity on it.  The backup connected but no data was transferring, both ends sitting idle.   It finally occurred to me to try 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 utility I 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux