From: | William <wilk(at)flibuste(dot)net> |
---|---|
To: | pgsql-fr-generale(at)postgresql(dot)org |
Subject: | macro %r de pg_standby |
Date: | 2011-11-08 10:50:46 |
Message-ID: | j9b1i6$lgk$1@dough.gmane.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-fr-generale |
Salut,
Dans la doc, je n'arrive pas à comprendre exactement comment compte la
macro %r
If restartwalfile is specified, normally by using the %r macro, then
all WAL files logically preceding this file will be removed from
archivelocation. This minimizes the number of files that need to be
retained, while preserving crash-restart capability. Use of this
parameter is appropriate if the archivelocation is a transient
staging area for this particular standby server, but not when the
archivelocation is intended as a long-term WAL archive area.
La procédure habituelle pour faire du log_shipping est
- activer l'archivage
- faire un backup
- transférer ce backup sur le slave
- utiliser un recovery.conf sur le slave pour récupérer les logs
Si je met %r est-ce qu'il va conserver tous les logs depuis ce backup ?
(et donc me permettre de faire du pitr entre le backup et maintenant ?)
Merci de m'éclairer...
--
William Dodé - http://flibuste.net
Informaticien Indépendant
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2011-11-08 21:30:03 | Re: macro %r de pg_standby |
Previous Message | Bernard Schoenacker | 2011-11-04 18:25:51 | Re: Utiliser des enregistrements ldap avec postrgresql |