Re: Running pg_dump under vcron

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: MT <m_tessier(at)sympatico(dot)ca>
Cc: GENERAL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Running pg_dump under vcron
Date: 2003-06-22 20:34:59
Message-ID: Pine.LNX.4.21.0306222133510.641-100000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 22 Jun 2003, MT wrote:

> 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.
>

Having not read the start of this I don't know if you've already posted it but
what is the error message(s) you get?

--
Nigel Andrews

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-06-22 20:47:05 Re: A creepy story about dates. How to prevent it?
Previous Message darren 2003-06-22 20:34:06 Re: Getting one row for each subquery row...?