From: Jeremy Buchmann <jeremy@wellsgaming.com>
To: dan@langille.org
Cc: Leong, Fushan <fushan.leong@SonoSite.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: backup file system
Date: Wed, 31 Oct 2001 16:26:53 -0800
Message-ID: <2646BAB0-CE5F-11D5-A44B-000502E740BA@wellsgaming.com> (raw)
In-Reply-To: <3BDEF9E5.3504.68FF164@localhost>
Or, you can backup both...
We backup the filesystem every night with plain old dump and then run
pg_dump and copy that file onto the backup, too. Makes for some nice
redundancy.
--Jeremy
On Tuesday, October 30, 2001, at 04:05 PM, Dan Langille wrote:
> On 30 Oct 2001 at 15:27, Leong, Fushan wrote:
>
>> I am working on a shell script to backup my postgres database.
>> Compared
>> with pg_dump and pg_dumpall, I would like to backup the file system
>> instead of dump the database because I can shutdown the database
>> server
>> in midnight for a few hours. I also can sure I will have a stable
>> backup.
>> ( No user is doing anything at the same time )
>
> Personally, I'd rather use pg_dump. That way I'm guaranteed to have a
> file which will work with a future version of PostgreSQL.
>
> Why do you want to back up the file system instead of using pg_dump?
>
> SIDE ISSUE: A possible benefit of using pg_dump instead of backing up
> the
> file system: all parts of the database are excerised/explored; any bad
> parts of the file system will
> be identified then.
> --
> Dan Langille
> The FreeBSD Diary - http://freebsddiary.org/ - practical examples
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
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: jeremy@wellsgaming.com, dan@langille.org, fushan.leong@SonoSite.com
Subject: Re: backup file system
In-Reply-To: <2646BAB0-CE5F-11D5-A44B-000502E740BA@wellsgaming.com>
References: <3BDEF9E5.3504.68FF164@localhost> <2646BAB0-CE5F-11D5-A44B-000502E740BA@wellsgaming.com>
* 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