From: Jeff <threshar@torgo.978.org>
To: Ganesan Kanavathy <ganesh@magnusquest.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: File system level backup
Date: Wed, 22 Oct 2003 08:38:00 -0400
Message-ID: <20031022083800.53139e66.threshar@torgo.978.org> (raw)
In-Reply-To: <004901c39839$9b0eebb0$1300a8c0@headquarters.mq.com>
References: <000001c3948f$010a43f0$1300a8c0@headquarters.mq.com>
<004901c39839$9b0eebb0$1300a8c0@headquarters.mq.com>
On Wed, 22 Oct 2003 09:12:40 +0800
"Ganesan Kanavathy" <ganesh@magnusquest.com> wrote:
> All the while I was doing pg_dump as backup method for my pgsql db.
> Today I came across File system level backup on Postgresql
> Documentation.
>
If you do a filesystem level backup the only "safe" way to do this is to
either stop postgres and then backup, or if you are using a logical
volume manager take a snapshot. You cannot just "tar" a "live" pgdata
directory as the contents will change as tar goes through each file and
you'll be left with a corrupt database.
--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/http://www.stuarthamm.net/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: threshar@torgo.978.org, ganesh@magnusquest.com
Subject: Re: File system level backup
In-Reply-To: <20031022083800.53139e66.threshar@torgo.978.org>
References: <000001c3948f$010a43f0$1300a8c0@headquarters.mq.com> <004901c39839$9b0eebb0$1300a8c0@headquarters.mq.com> <20031022083800.53139e66.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