Date: Wed, 13 Oct 2004 21:47:35 +0100 From: Dick Davies <rasputnik@hellooperator.net> To: Norman Uittenbogaart <norman@webminded.nl> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Postgres Message-ID: <20041013204735.GO9309@lb.tenfour> In-Reply-To: <416D4546.9090308@webminded.nl> References: <416D4546.9090308@webminded.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
* Norman Uittenbogaart <norman@webminded.nl> [1010 16:10]: > I'm trying to write a backup script for postgres and us a crontab on it. > In the manual it says for pg_dumpall make $HOME/.pgpass so it won't ask > for a password. > Now I made the .pgpass in root's homedir (i wanted to use root's > crontab) paste the password in it, chmod 400 it ... Can't you just pgdump from the local socket? And not bother with the password thing at all? -- I never meant to hurt you. Just destroy everything you ever believed in. - Bender Rasputin :: Jack of All Trades - Master of Nuns
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041013204735.GO9309>