PostgreSQL backup script

From: Søren Neigaard <s(dot)neigaard(at)mobilethink(dot)dk>
To: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: PostgreSQL backup script
Date: 2003-05-01 13:03:42
Message-ID: 4C358A990DA46D41A6887372872716C06B3070@mt33-imap2.mobilethink.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I want to make a backupscript that uses pg_dump, but if do a:

pg_dump test > test.dmp

It gives me:

Connection to database 'test' failed.
fe_sendauth: no password supplied

What am I missing here, I need this to work without passwords, so it can
work automatic in my script?

Med venlig hilsen/Best regards
Søren Neigaard
System Architect
................................
Mobilethink A/S
Arosgaarden
Åboulevarden 23, 4.sal
DK - 8000 Århus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801
Email: s(dot)neigaard(at)mobilethink(dot)dk
Web: www.mobilethink.dk
................................

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erik Ronström 2003-05-01 13:09:33 RECORD fields by name
Previous Message Mike Mascari 2003-05-01 12:38:18 Re: [HACKERS] Join Stallman and Software SMEs to refuse