Re: Really Dumb Question...(Dumping db)

From: Tim Frank <tfrank(at)registrar(dot)uoguelph(dot)ca>
To: John Madden <weez(at)freelists(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Really Dumb Question...(Dumping db)
Date: 2001-03-21 17:34:07
Message-ID: 20010321.17340745@cr625228-a.ktchnr1.on.wave.home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John,

Thanks for mentioning that fix :) I'm sure one could run sed or
something similar to remove that line at the top of the file after the
backup has completed (I shall have to try that sometime).
Just a note about the filesystem level backups. In my experience they
are about twice the size of the dumped data after being tar'd/gzip'd,
which isn't that big of a deal these days but something to be aware of
when allocating backup space (or writing to removable media such as CD's,
zips, tapes, whatever).
The other is just a note from the development docs for 7.1 which can be
read here
http://www.postgresql.org/devel-corner/docs/admin/backup-file.html so I
won't repeat it myself.

Tim Frank

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 21/03/01, 9:15:27 AM, John Madden <weez(at)freelists(dot)org> wrote regarding
Re: [GENERAL] Really Dumb Question...(Dumping db):

> > If you have password authentication on for the other server as well try
> > this command instead,
> >
> > psql -e worldwide -f worldwide.pgdump
> >
> > where the -f switch tells psql to execute commands contained in a file.
> > I just fought with that one today for a bit until I remembered that
> > switch. You should then get a password prompt to enter your password.

> Oh, and remember to "fix" the dump file -- it'll contain the username and
> password prompts (remember that they were sent to stdout...)

> You might consider doing filesystem backups instead of the dump stuff --
> it's a great deal easier.

> John

> --
> # John Madden weez(at)freelists(dot)org ICQ: 2EB9EA
> # FreeLists, Free mailing lists for all: http://www.freelists.org
> # UNIX Systems Engineer, Ivy Tech State College: http://www.ivy.tec.in.us
> # Linux, Apache, Perl and C: All the best things in life are free!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-03-21 17:49:35 Chat starts in 10 minutes
Previous Message Feite Brekeveld 2001-03-21 17:20:21 to_timestamp question