pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedInsuring consistant backups
3+ messages / 3 participants
[nested] [flat]
* Insuring consistant backups
@ 2002-12-10 03:33 spinler@kmtel.com
0 siblings, 2 replies; 3+ messages in thread
From: spinler@kmtel.com @ 2002-12-10 03:33 UTC (permalink / raw)
To: pgsql-admin
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/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Insuring consistant backups
@ 2002-12-10 03:50 Bruce Momjian <pgman@candle.pha.pa.us>
parent: spinler@kmtel.com
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2002-12-10 03:50 UTC (permalink / raw)
To: spinler@kmtel.com; +Cc: pgsql-admin
pg_dump does a snapshot at backup start, so your backups will be
consistent even if there is activity.
---------------------------------------------------------------------------
spinler@kmtel.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@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Insuring consistant backups
@ 2002-12-10 03:52 Dan Langille <dan@langille.org>
parent: spinler@kmtel.com
1 sibling, 0 replies; 3+ messages in thread
From: Dan Langille @ 2002-12-10 03:52 UTC (permalink / raw)
To: spinler@kmtel.com; +Cc: pgsql-admin
On 9 Dec 2002 at 21:33, spinler@kmtel.com wrote:
> 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 ?
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-12-10 03:52 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-10 03:33 Insuring consistant backups spinler@kmtel.com
2002-12-10 03:50 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-12-10 03:52 ` Dan Langille <dan@langille.org>
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