Re: Running pg_dump under vcron

From: MT <m_tessier(at)sympatico(dot)ca>
To: GENERAL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Running pg_dump under vcron
Date: 2003-06-22 20:17:13
Message-ID: 20030622161713.1b74c709.m_tessier@sympatico.ca
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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message darren 2003-06-22 20:34:06 Re: Getting one row for each subquery row...?
Previous Message Andreas Lehrbaum 2003-06-22 19:53:55 Aggregate functions on ordered data?