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

From Joseph Shraibman
Subject Re: Re: Backups WAS: 2 gig file size limit
Date
Msg-id 3B4B5889.52D4220B@selectacast.net
Whole thread Raw
In response to Re: [HACKERS] 2 gig file size limit  (Lamar Owen <lamar.owen@wgcr.org>)
List pgsql-general
Tom Lane wrote:
>
> Joseph Shraibman <jks@selectacast.net> writes:
> > Could a command be added that locks all the files, quickly tars them
> > up, then releases the lock?
>
> 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.  I would rather that
postgres just lock all the files and do the tar.



--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com

pgsql-general by date:

Previous
From:
Date:
Subject: Re: error handling. How to?
Next
From: "Mikheev, Vadim"
Date:
Subject: RE: Re: Backups WAS: 2 gig file size limit