pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff <threshar@torgo.978.org>
To: Josh Berkus <josh@agliodbs.com>
Cc: markw@osdl.org
Cc: pgsql-performance@postgresql.org
Cc: linux-lvm@sistina.com
Cc: pgsql-admin@postgresql.org
Subject: Re: [PERFORM] backup/restore - another area.
Date: Thu, 16 Oct 2003 13:06:37 -0400
Message-ID: <20031016130637.535f633f.threshar@torgo.978.org> (raw)
In-Reply-To: <200310160949.59442.josh@agliodbs.com>
References: <Pine.BSF.4.44.0310160740510.5719-100000@torgo.978.org>
	<200310160949.59442.josh@agliodbs.com>

On Thu, 16 Oct 2003 09:49:59 -0700
Josh Berkus <josh@agliodbs.com> wrote:

> Jeff,
> 
> > The downside is
> > this method will only work on that specific version of PG and it
> > isn't the"cleanest" thing in the world since you are essentially
> > simulating a power failure to PG. Luckly the WAL works like a champ.
> > Also, these backups can be much larger since it has to include the
> > indexes as well. but this is a price you have to pay.
> 
> The other downside is, of course, that the database needs to be shut
> down.
> 

I left the DB up while doing this.

Even had a program sitting around committing data to try and corrupt
things. (Which is how I discovered I was doing the snapshot wrong)

You could  do pg_ctl stop; snapshot; pg_ctls tart for a "clean" image. 

-- 
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/



view thread (14+ messages)  latest in thread

Message-ID: <20031016130637.535f633f.threshar@torgo.978.org>
Permalink:  ../20031016130637.535f633f.threshar@torgo.978.org/
Also on:    postgresql.org/message-id/20031016130637.535f633f.threshar@torgo.978.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: threshar@torgo.978.org, josh@agliodbs.com, markw@osdl.org, linux-lvm@sistina.com, pgsql-admin@postgresql.org
  Subject: Re: [PERFORM] backup/restore - another area.
  In-Reply-To: <20031016130637.535f633f.threshar@torgo.978.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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