Re: Backup Postgressql
* Tinus Nijmeijers schrieb am 26.09.07 um 17:46 Uhr:
> On Wed, 2007-09-26 at 12:33 -0300, Rodolfo Barbosa wrote:
> > Hi,
> >
> > How can I dunp the data bases from de postgressql without password
> > prompt? I`m using sarge.
> >
> > Thanks
> > --
> > Rodolfo Barbosa
> > Lunar Consultoria
>
> PGPASSWORD=secret
> export PGPASSWORD
> pg_dump database > /tmp/database.dump
> PGPASSWORD=
> export PGPASSWORD
shorter:
PGPASSWORD=secret pg_dump database > /tmp/database.dump
-Marc
--
BUGS My programs never have bugs. They just develop random
features. If you discover such a feature and you want it to
be removed: please send an email
Reply to: