Search Postgresql Archives

Re: PITR problem

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

 



> What is the full pg_standby command string (restore_command=....) in
> your recovery.conf.  It sound's like you have pg_standby set to delete
> archived WALs and possibly have that a little too aggressive.  Do you
> have the -k flag set in your pg_standby call in your restore_command?

My restore command is:
-----------------------------------------------------------------------------------------
restore_command = 'pg_standby -l -d -s 5 -w 0 -t /tmp/
pgsql.promote_trigger.5432 ~postgres/incoming_wal %f %p %r 2>&1 |
logger -p local1.info -t pitr-standby'
-----------------------------------------------------------------------------------------

As you can see I didn't set -k to keep fixed number of WALs, but %r
parameter and the PostgreSQL controls number of keeped files
automatically (or at least it should)



[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