Re: [ADMIN] How to manage WAL

2010-02-12 Thread Albert Shih
Le 11/02/2010 à 20:39:30-0300, Alvaro Herrera a écrit > Albert Shih wrote: > > Le 11/02/2010 à 17:00:33-0600, Kevin Grittner a écrit > > > Albert Shih wrote: > > > > > > > I would like to known what's best way to manage the WAL. > > >

Re: [ADMIN] How to manage WAL

2010-02-11 Thread Albert Shih
Le 11/02/2010 à 17:00:33-0600, Kevin Grittner a écrit > Albert Shih wrote: > > > I would like to known what's best way to manage the WAL. > > You should design a policy which meets your particular needs. We > keep two PITR base backups and all the WAL files from

Re: [ADMIN] pg_xlog

2010-02-11 Thread Albert Shih
Le 11/02/2010 à 16:20:26-0600, Kevin Grittner a écrit > Albert Shih wrote: > > > How can I clean up the pg_xlog directory ? > > > > I've 710 go of those file. > > > > I've archive_mode on but not in the pg_xlog directory >

[ADMIN] How to manage WAL

2010-02-11 Thread Albert Shih
/pgsql backup_server: psql -c "select pg_stop_backup();" and continu to backup /WAL ? Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Jeu 11 fév 2010 23:28:31 CET --

[ADMIN] pg_xlog

2010-02-11 Thread Albert Shih
Hi all How can I clean up the pg_xlog directory ? I've 710 go of those file. I've archive_mode on but not in the pg_xlog directory I've something like archive_mode = on # allows archiving to be done archive_command = 'cp -i %p /databases/Archives/WAL/%f http://www.postgresql.o

Re: [ADMIN] WAL backup

2009-07-28 Thread Albert Shih
Le 28/07/2009 à 06:05:07-0600, Greg Spiegelberg a écrit > On Tue, Jul 28, 2009 at 1:46 AM, Albert Shih wrote: > > Hi all > > I'm not sure I understand > >        http://www.postgresql.org/docs/8.3/interactive/ > continuous-archi

[ADMIN] WAL backup

2009-07-28 Thread Albert Shih
Hi all I'm not sure I understand http://www.postgresql.org/docs/8.3/interactive/continuous-archiving.html My problem: I've huge database ~ 1To (soon 2 To) and I need backup. I can use pgdump because it's too long to do the backup. So I like to use «continous-arc