Re: Any reason to use pg_dumpall on an idle database

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Any reason to use pg_dumpall on an idle database
Date: 2000-05-26 00:04:05
Message-ID: 200005260004.UAA14336@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-05-26 00:15:27 Re: Any reason to use pg_dumpall on an idle database
Previous Message Peter Eisentraut 2000-05-25 23:52:38 Re: \dS and \df <pattern> crashing psql