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

From: "Donald Fraser" <demolish(at)cwgsy(dot)net>
To: "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [PERFORM] backup/restore - another area.
Date: 2003-10-16 22:35:48
Message-ID: 001001c39435$dbd82920$1664a8c0@DEMOLITION
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance


> > 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.
>

Since this seems to work for you,
would you be kind enough to post the shell script for doing the snapshot with
LVM.

Regards
Donald Fraser

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Robert W. Kernell 2003-10-16 22:47:51 Which Group???
Previous Message Bruno Wolff III 2003-10-16 19:41:19 Re: rebuild index question

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff 2003-10-17 11:45:53 Re: [PERFORM] backup/restore - another area.
Previous Message Robert Treat 2003-10-16 21:38:31 Re: free space map usage