Skip site navigation (1) Skip section navigation (2)

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:49:18
Message-ID: 200005260049.UAA17322@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> On Thu, 25 May 2000, Bruce Momjian wrote:
> 
> > > > 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?
> > > 
> > > when you mean 'idle', do you mean 'read-only'?  else the files in
> > > /data/base/* would be changing, no? 
> > 
> > No, like everyone has gone home and nothing is happening.
> 
> okay, so this is used on an IntraNet where 'schedualed downtime' is an
> option ... then doing a shutdown, tar, and startup makes sense ...

Yes, I was just trying to make it clear to them how a more simple backup
can happen.

-- 
  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

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-05-26 01:00:07
Subject: Re: \dS and \df <pattern> crashing psql
Previous:From: Nishad PRAKASHDate: 2000-05-26 00:37:12
Subject: Re: \dS and \df <pattern> crashing psql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group