Skip site navigation (1) Skip section navigation (2)

Re: Practice of backups

From: Michael Graziano <michael(dot)graziano(at)premierheart(dot)com>
To: Jesper Krogh <jesper(at)krogh(dot)cc>
Cc: Julius Tuskenis <julius(at)nsoft(dot)lt>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Practice of backups
Date: 2009-11-19 21:34:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
On Nov 19, 2009, at 1:58 PM, Jesper Krogh wrote:

> Michael Graziano wrote:
>> None that I know of from within the database environment, but you can
>> grab a copy of the data directory off the filesystem.  Note that this
>> requires stopping the DB server though, as a backup grabbed while  
>> the DB
>> is running may have issues.
> Not if you have enabled PITR and tell the database that you do so:
> Works excellent..

That's true - I forgot about pg_start_backup / pg_stop_backup (which  
is sad considering I use them every time I roll a new slave...)

Doing the backup that way avoids the outage in my filesystem  
snapshotting example and isn't dependent on OS-level capabilities so  
it's definitely a better way to go.


In response to


pgsql-admin by date

Next:From: Brian ModraDate: 2009-11-20 03:32:51
Subject: Re: Just wanted to say thanks for a great tool
Previous:From: Campbell, LanceDate: 2009-11-19 21:04:08
Subject: Just wanted to say thanks for a great tool

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group