pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: andy.shellam@mailnetwork.co.uk
Cc: pgsql-admin@postgresql.org
Subject: Re: FW: Setting up of PITR system.
Date: Tue, 28 Mar 2006 21:57:05 +0530
Message-ID: <a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com> (raw)
In-Reply-To: <1976.1143559769@sss.pgh.pa.us>
References: <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAAB0heSWPqq+QLrrk5Lik5sLAQAAAAA=@mailnetwork.co.uk>
	<1976.1143559769@sss.pgh.pa.us>

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@sss.pgh.pa.us> wrote:
> "Andy Shellam" <andy.shellam@mailnetwork.co.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
>



view thread (36+ messages)  latest in thread

Message-ID: <a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com>
Permalink:  ../a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah.rajesh@gmail.com, tgl@sss.pgh.pa.us, andy.shellam@mailnetwork.co.uk
  Subject: Re: FW: Setting up of PITR system.
  In-Reply-To: <a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com>
  References: <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAAB0heSWPqq+QLrrk5Lik5sLAQAAAAA=@mailnetwork.co.uk> <1976.1143559769@sss.pgh.pa.us> <a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox