Re: [ADMIN] Warm-Backup configuration question

2007-08-24 Thread Kenji Morishige
Hmm. I recently installed 8.2.4 out of ports (FreeBSD) and didn't see that file in contrib. I'd like to take a look at it. Kenji On Fri, Aug 24, 2007 at 07:18:12AM +0300, Mikko Partio wrote: > > > On 8/24/07, Kenji Morishige <[EMAIL PROTECTED]> wrote: > > I've got 2 identical servers confi

Re: [ADMIN] Warm-Backup configuration question

2007-08-23 Thread Mikko Partio
On 8/24/07, Kenji Morishige <[EMAIL PROTECTED]> wrote: > > I've got 2 identical servers configured exactly the same way, except for > some > minor differences for the WAL logging directories. I have both machines > set up > as a NFS server and client, so that the WAL archive gets written out to >

Re: [ADMIN] Warm-Backup configuration question

2007-08-23 Thread Tom Arthurs
You need to make the script wait forever for the next archive file, or return 1 only if you want to complete the recovery. Here's a stub of what we do: #!/usr/bin/ksh set -e # Where copy.sh fetches WALs from ARCHDIR=/data3/archive_log # Name of log file that copy.sh writes to copy_log=copy.

[ADMIN] Warm-Backup configuration question

2007-08-23 Thread Kenji Morishige
I've got 2 identical servers configured exactly the same way, except for some minor differences for the WAL logging directories. I have both machines set up as a NFS server and client, so that the WAL archive gets written out to the local filesystem of the backup machine depending on which role th