Skip site navigation (1) Skip section navigation (2)

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 15:58:56
Message-ID: cacks0$vi5$1@sea.gmane.org (view raw or flat)
Thread:
Lists: pgsql-cygwin
How do I get a cygwin command line app to run under the windows at command?

Specifically, would like to schedule postgresql backups via at with
pg_dumpall.

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

Next:From: David P. LurieDate: 2004-06-11 19:48:36
Subject: How to run pg_dump(all) from Windows at command
Previous:From: Jason TishlerDate: 2004-06-11 15:26:26
Subject: Updated Cygwin Package: postgresql-7.4.2-1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group