How to run pg_dump(all) from Windows at command

From: "David P(dot) Lurie" <dbase4(at)hotmail(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: How to run pg_dump(all) from Windows at command
Date: 2004-06-11 19:48:36
Message-ID: cad2ak$7fr$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

How do I get a cygwin command line app to run under the windows at command?

Specifically, I would like to schedule postgresql backups via the Windows at
command with pg_dumpall.

For a local Windows or Samba shared drive D: -

pg_dumpall -o -U username | gzip > /cygdrive/d/archive.gz runs, but only
from the command line, not from within at.

Likewise, c:\cygwin\bin\pg_dumpall -o -U username | gzip > d:archive.gz runs
from an msdos prompt, but also fails from with at.

Thanks,

David P. Lurie

Browse pgsql-cygwin by date

  From Date Subject
Next Message Larry Adams 2004-06-12 03:12:55 Problem in Cygwin1.DLL
Previous Message David P. Lurie 2004-06-11 15:58:56 How to run pg_dump(all) from Windows at command