Re: [PERFORM] backup/restore - another area.

From: Jeff <threshar(at)torgo(dot)978(dot)org>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: markw(at)osdl(dot)org, pgsql-performance(at)postgresql(dot)org, linux-lvm(at)sistina(dot)com, pgsql-admin(at)postgresql(dot)org
Subject: Re: [PERFORM] backup/restore - another area.
Date: 2003-10-16 17:06:37
Message-ID: 20031016130637.535f633f.threshar@torgo.978.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

On Thu, 16 Oct 2003 09:49:59 -0700
Josh Berkus <josh(at)agliodbs(dot)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(at)jefftrout(dot)com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2003-10-16 17:07:59 Re: Second postmaster / second DB cluster
Previous Message Bruno Wolff III 2003-10-16 17:02:51 Re: question re double quotes

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2003-10-16 17:09:27 Re: [PERFORM] backup/restore - another area.
Previous Message Josh Berkus 2003-10-16 16:49:59 Re: [PERFORM] backup/restore - another area.