Re: [ADMIN] Restore Database

From: Alexander Burbello <burbello3000(at)yahoo(dot)com(dot)br>
To: Aaron Bono <postgresql(at)aranya(dot)com>
Cc: Lista Postgres <pgadmin-support(at)postgresql(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Restore Database
Date: 2006-07-12 20:04:35
Message-ID: 44B555D3.4080605@yahoo.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-admin

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(at)yahoo(dot)com(dot)br
> <mailto:burbello3000(at)yahoo(dot)com(dot)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
> ==================================================================

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message VivekanandaSwamy R. 2006-07-13 10:39:59 how to use lo_import function
Previous Message Aaron Bono 2006-07-12 19:41:57 Re: [ADMIN] Restore Database

Browse pgsql-admin by date

  From Date Subject
Next Message adey 2006-07-13 03:31:02 Re: PG slowdown
Previous Message Aaron Bono 2006-07-12 19:41:57 Re: [ADMIN] Restore Database