pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: andy.shellam@mailnetwork.co.uk
Cc: pgsql-admin@postgresql.org
Subject: Re: FW: Setting up of PITR system.
Date: Wed, 29 Mar 2006 18:28:51 +0530
Message-ID: <a97c77030603290458t16aa51e7s74e7ed1c73a49254@mail.gmail.com> (raw)
In-Reply-To: <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAADL3SivwDRiRYXS5tJhonpaAQAAAAA=@mailnetwork.co.uk>
References: <a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com>
	<!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAADL3SivwDRiRYXS5tJhonpaAQAAAAA=@mailnetwork.co.uk>

On 3/29/06, Andy Shellam <andy.shellam@mailnetwork.co.uk> wrote:
> If pg_start_backup is used correctly, no data pages will be written to disk
> until pg_stop_backup is called, so this shouldn't be an issue - HOWEVER -
> check that you're excluding your pg_xlog directory (within your database
> directory) from the tar backup as these will be changing.
>


> Whatever archive utility you're using, if a file is being changed at the
> time of reading, it won't be archived correctly.

??????  What you are saying is not in sync with docs

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
23.3.2. Making a Base Backup
The procedure for making a base backup is relatively simple:

3. Perform the backup, using any convenient file-system-backup tool
such as tar or cpio. It is neither necessary nor desirable to stop
normal operation of the database while you do this.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I used rsync like many others , it seems to work fine for me.

Regds
mallah.




>
> Andy
>
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Rajesh Kumar Mallah
> Sent: Tuesday, 28 March, 2006 5:27 PM
> To: Tom Lane
> Cc: andy.shellam@mailnetwork.co.uk; pgsql-admin@postgresql.org
> Subject: Re: FW: [ADMIN] Setting up of PITR system.
>
> ---
>
> 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.
>
> ---
>
>
>



view thread (36+ messages)  latest in thread

Message-ID: <a97c77030603290458t16aa51e7s74e7ed1c73a49254@mail.gmail.com>
Permalink:  ../a97c77030603290458t16aa51e7s74e7ed1c73a49254@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030603290458t16aa51e7s74e7ed1c73a49254@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, andy.shellam@mailnetwork.co.uk
  Subject: Re: FW: Setting up of PITR system.
  In-Reply-To: <a97c77030603290458t16aa51e7s74e7ed1c73a49254@mail.gmail.com>
  References: <a97c77030603280827j39e773d9o425ce7ef048d4adb@mail.gmail.com> <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAADL3SivwDRiRYXS5tJhonpaAQAAAAA=@mailnetwork.co.uk> <a97c77030603290458t16aa51e7s74e7ed1c73a49254@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