pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Langille <dan@langille.org>
To: Leong, Fushan <fushan.leong@SonoSite.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: backup file system
Date: Tue, 30 Oct 2001 19:05:09 -0500
Message-ID: <3BDEF9E5.3504.68FF164@localhost> (raw)
In-Reply-To: <2DFBC8374F5A0F4E954C07C158844F320851F8@milton.sonosite.com>

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




view thread (7+ messages)  latest in thread

Message-ID: <3BDEF9E5.3504.68FF164@localhost>
Permalink:  ../3BDEF9E5.3504.68FF164@localhost/
Also on:    postgresql.org/message-id/3BDEF9E5.3504.68FF164@localhost

 · 

reply

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: dan@langille.org, fushan.leong@SonoSite.com
  Subject: Re: backup file system
  In-Reply-To: <3BDEF9E5.3504.68FF164@localhost>
  References: <2DFBC8374F5A0F4E954C07C158844F320851F8@milton.sonosite.com> <3BDEF9E5.3504.68FF164@localhost>

* 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