From: Alexander Burbello <burbello3000@yahoo.com.br>
To: Aaron Bono <postgresql@aranya.com>
Cc: Lista Postgres <pgadmin-support@postgresql.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Restore Database
Date: Wed, 12 Jul 2006 17:04:35 -0300
Message-ID: <44B555D3.4080605@yahoo.com.br> (raw)
In-Reply-To: <bf05e51c0607121241r6124d7eau62de3bbe765721bb@mail.gmail.com>
References: <20060711171232.83182.qmail@web36205.mail.mud.yahoo.com>
<bf05e51c0607121241r6124d7eau62de3bbe765721bb@mail.gmail.com>
Ok! Its a good tool, but for Production Database I think it is not
recommended.
Only using pg_dump for the second backup plain.
Suppose that you backed up at 6:00am and at 9am happened a crash on the
server.
In this case, I would lost data between that time, 3 hours of information.
For production databases, my plan is to do phisical backup including WAL.
If a crash happen, I can restore the datafiles and recover applying the
WAL logs until the last file was generated.
As Oracle does in this type of crash.
My doubt is that I am not getting apply the WAL files on recover stage.
Any other suggestion?
Thanks for your help
Aaron Bono escreveu:
> On 7/11/06, *Burbello* <burbello3000@yahoo.com.br
> <mailto:burbello3000@yahoo.com.br>> wrote:
>
> I need to test and create a procedure to restore
> databases.
>
>
> Why not just use pg_dump?
>
> See http://manual.intl.indoglobal.com/ch06s07.html
> <http://manual.intl.indoglobal.com/ch06s07.html; - it's really easy.
> This is how we copy from production to testing and development and how
> we do nightly backups.
>
>
> ==================================================================
> Aaron Bono
> Aranya Software Technologies, Inc.
> http://www.aranya.com
> ==================================================================
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: burbello3000@yahoo.com.br, postgresql@aranya.com, pgadmin-support@postgresql.org
Subject: Re: [ADMIN] Restore Database
In-Reply-To: <44B555D3.4080605@yahoo.com.br>
* 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