How to run pg_dump(all) from Windows at command - Mailing list pgsql-cygwin

From David P. Lurie
Subject How to run pg_dump(all) from Windows at command
Date
Msg-id cad2ak$7fr$1@sea.gmane.org
Whole thread Raw
List 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






pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Updated Cygwin Package: postgresql-7.4.2-1
Next
From: "David P. Lurie"
Date:
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1