Re: remote dumping of databases

From: "Brent R(dot) Matzelle" <bmatzelle(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: remote dumping of databases
Date: 2001-03-09 21:36:30
Message-ID: 20010309213630.23438.qmail@web13002.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>How ever..how do
> you get the
> content of the dump to a file??? Every pipe action will result
> in endless
> waiting, pg_dumps waits for the username/password.......
>
> Is there an solution of do I overlook something here???

Give the user who is performing the dump read access on all
tables, indices, etc on the database(s) you wish to dump. Then
you can run a pg_dump without the password prompt coming up.

% pg_dump database_name > file.dump

Brent

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-03-09 21:36:59 Re: what's going on here?
Previous Message Creager, Robert S 2001-03-09 21:34:40 COPY problem