Re: Any reason to use pg_dumpall on an idle database - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Any reason to use pg_dumpall on an idle database
Date
Msg-id 200005260004.UAA14336@candle.pha.pa.us
Whole thread Raw
In response to Re: Any reason to use pg_dumpall on an idle database  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: Any reason to use pg_dumpall on an idle database
List pgsql-hackers
> On Thu, 25 May 2000, Bruce Momjian wrote:
> 
> > > On Thu, 25 May 2000, Bruce Momjian wrote:
> > > 
> > > > Seems a typical file system backup is fine on an idle database, right?
> > > 
> > > how do you know its idle, and/or will remain so?
> > 
> > pg_ctl stop of modification of pg_hba.conf.
> 
> ack ... why would you want to? *raised eyebrow*

Well, I am not sure.  In the book, I say you can use a normal file
system backup if the database is idle, or use pg_dumpall and backup the
file it creates.  In fact, once you run pg_dumpall, there is no need to
backup the /data directory except for the few configuration files like
pg_hba.conf.  Does this make sense?

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: Any reason to use pg_dumpall on an idle database
Next
From: The Hermit Hacker
Date:
Subject: Re: Any reason to use pg_dumpall on an idle database