Re: Running pg_dump under vcron

From: MT <mt(at)open2web(dot)com>
To: GENERAL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Running pg_dump under vcron
Date: 2003-06-22 19:09:24
Message-ID: 20030622150924.597d0814.mt@open2web.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 22 Jun 2003 19:57:18 +0200
"Daniel Seichter" <daniel(at)dseichter(dot)de> wrote:

> Hello,
>
> > /usr/bin/pg_dump -a -f /home/httpd/htdocs/db_name.sql db_name
> Try to use a pipe
>
> PG_PATH$/pg_dump [PARAMETERS] > BACKUP_PATH$/dumpfile.sql

As in

/usr/bin/pg_dump -a herboris > /home/httpd/htdocs/herboris_data.sql

This works manually but not from cron.

>
> HTH,
> Daniel
> --
> postgreSQL on Netware - the red elephant
> http://postgresql.dseichter.org
> Last update: 26th May 2003
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthew T. O'Connor 2003-06-22 19:13:08 Re: How to process mail using pgSQL?
Previous Message Ron Johnson 2003-06-22 18:19:44 Re: A creepy story about dates. How to prevent it?