From: Jeff <threshar@torgo.978.org>
To: Josh Berkus <josh@agliodbs.com>
Cc: markw@osdl.org, pgsql-performance@postgresql.org,
linux-lvm@sistina.com, pgsql-admin@postgresql.org
Subject: [linux-lvm] Re: [PERFORM] backup/restore - another area.
Date: Thu Oct 16 14:06:03 2003 [thread overview]
Message-ID: <20031016130637.535f633f.threshar@torgo.978.org> (raw)
In-Reply-To: <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/
next prev parent reply other threads:[~2003-10-16 14:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <878ynu9ed5.fsf@stark.dyndns.tv>
2003-10-14 17:20 ` [linux-lvm] Re: [PERFORM] backup/restore - another area markw
2003-10-16 7:56 ` Jeff
2003-10-16 14:06 ` Josh Berkus
2003-10-16 14:06 ` Jeff [this message]
2003-10-16 14:06 ` Josh Berkus
2003-10-16 14:06 ` Jeff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031016130637.535f633f.threshar@torgo.978.org \
--to=threshar@torgo.978.org \
--cc=josh@agliodbs.com \
--cc=linux-lvm@sistina.com \
--cc=markw@osdl.org \
--cc=pgsql-admin@postgresql.org \
--cc=pgsql-performance@postgresql.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox