Re: pg_dump automatic

From: "codeWarrior" <GPatnude(at)adelphia(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump automatic
Date: 2003-01-24 02:41:53
Message-ID: b0q8o5$1j8o$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is your script running as postgres on your postgres data server ?

""Enrico Comini"" <algobit(at)algobit(dot)com> wrote in message
news:PPEOLEBLEGFKDAOCDMLHEEOOHMAA(dot)algobit(at)ALGOBIT(dot)COM(dot)(dot)(dot)
> Dear friends,
> my problem is to make automatic dump of a database.
> I have a .backup.sh file for dump containing:
>
> #! bin/sh
> pg_dump -U user database > dump.txt
>
> I have a password on the database, so when the file is executed it prompt
> for the password.
> I try :
> pg_dump < passfile -U user database > dump.txt
> pg_dump -U user database < -passfile > dump.txt
>
> but is the same.
> How I have to do ? THANKS
>
> Enrico
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Browse pgsql-general by date

  From Date Subject
Next Message CN LIOU 2003-01-24 02:58:19 Re: Stable function Repeatedly Called
Previous Message Oliver Vecernik 2003-01-24 02:25:50 Re: standard schemas for addresses, others?