Re: FW: Setting up of PITR system.

From: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: andy(dot)shellam(at)mailnetwork(dot)co(dot)uk, pgsql-admin(at)postgresql(dot)org
Subject: Re: FW: Setting up of PITR system.
Date: 2006-03-28 16:27:05
Message-ID: a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

Thanks everyone for the reply,

is it reasonable/advisable to start with the output of
pg_stop_backup() in a shell script to find the WAL
file being discussed, ie the FILE which can be used
as a reference for removing the older files ?

secondly , i was asking about the tool for copying the
database directory not the one for archiving the logs.
when i use tar , it gives warning that the file changed
while it was reading the file, i need a tool that does not
give warning for this kind of activity.

Regds
Rajesh Kumar Mallah.

On 3/28/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Andy Shellam" <andy(dot)shellam(at)mailnetwork(dot)co(dot)uk> writes:
> > The DOCs say that filenames numerically less than the WAL record that
> > pg_stop_backup() suggests can be removed. Will an alphabetical sorting
> > be different from numerically sorted filename ?
>
> If you're worried about that, try "LANG=C ls ..." to make sure the
> sorting is done in C locale. I don't know of any locales that would
> sort hex numbers differently from C, but maybe there are some.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message lmyho 2006-03-28 17:41:05 Re: PostgreSQl newbie! -PLease help, pgAdmin3 on Debian!
Previous Message Tom Lane 2006-03-28 15:29:29 Re: FW: Setting up of PITR system.