Re: Insuring consistant backups

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: spinler(at)kmtel(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Insuring consistant backups
Date: 2002-12-10 03:50:48
Message-ID: 200212100350.gBA3om816842@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


pg_dump does a snapshot at backup start, so your backups will be
consistent even if there is activity.

---------------------------------------------------------------------------

spinler(at)kmtel(dot)com wrote:
>
>
> Hi:
>
> A question regarding backups. Commercial databases I've administered have had
> some facility to freeze or redirect transactions when a backup is being taken
> from a database which is online, in order to insure that the backup snapshots a
> consistant database.
>
> Does postgresql have a similar facility, or do I have to script some solution,
> perhaps forcing all sessions to be dropped before doing a pg_dump ?
>
> Thanks,
> -- Pat
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dan Langille 2002-12-10 03:52:51 Re: Insuring consistant backups
Previous Message spinler 2002-12-10 03:33:05 Insuring consistant backups