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.
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
pgsql-admin by date
|Next:||From: lmyho||Date: 2006-03-28 17:41:05|
|Subject: Re: PostgreSQl newbie! -PLease help, pgAdmin3 on Debian!|
|Previous:||From: Tom Lane||Date: 2006-03-28 15:29:29|
|Subject: Re: FW: Setting up of PITR system. |