Re: Methods to quiesce PostgreSQL DB without configuring log archival - Mailing list pgsql-general

From John R Pierce
Subject Re: Methods to quiesce PostgreSQL DB without configuring log archival
Date
Msg-id a1af2766-c018-7869-1621-b2bfdd77bff8@hogranch.com
Whole thread Raw
In response to Methods to quiesce PostgreSQL DB without configuring log archival  (MEERA <meeranair89@gmail.com>)
List pgsql-general
On 11/21/2016 10:23 PM, MEERA wrote:
If archive_mode is not configured, and i use snapshot solution for backup of the server, how can i ensure data consistency? Is there a way to quiesce all the connections to DB?

select pg_startbackup();    before taking the file system copy or snapshot, and

select pg_stopbackup();     when you're done.  


-- 
john r pierce, recycling bits in santa cruz

pgsql-general by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Methods to quiesce PostgreSQL DB without configuring log archival
Next
From: azhwkd
Date:
Subject: Re: query locks up when run concurrently