RE: Re: Backups WAS: 2 gig file size limit - Mailing list pgsql-general

From Mikheev, Vadim
Subject RE: Re: Backups WAS: 2 gig file size limit
Date
Msg-id 3705826352029646A3E91C53F7189E320166BA@sectorbase2.sectorbase.com
Whole thread Raw
List pgsql-general
> > pg_ctl stop
> > tar cfz - $PGDATA >someplace
> > pg_ctl start
> >
> But that would mean I would have to have all my programs
> detect that the database went down and make new connections.

You'd better to handle lost connections anyway.

> I would rather that postgres just lock all the files and
> do the tar.

Not suitable for online backup to bother with implementation.
We hope to have WAL-based backup and restore (BAR) in some
future.

Vadim

pgsql-general by date:

Previous
From: Joseph Shraibman
Date:
Subject: Re: Re: Backups WAS: 2 gig file size limit
Next
From: Peter Eisentraut
Date:
Subject: Re: NULL values