Re: automating backups with windows scheduled tasks and pg_dumpall

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom Hart <tomhart(at)coopfed(dot)org>
Cc: Postgres General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: automating backups with windows scheduled tasks and pg_dumpall
Date: 2007-11-15 22:17:25
Message-ID: 2502.1195165045@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Hart <tomhart(at)coopfed(dot)org> writes:
> Do scheduled tasks
> have a problem writing to files with > ? I tried an "echo this is a test
> > test.txt" and that didn't run either.

I know zip about Windows, but try using pg_dump's -f switch instead of ">"
and see if it gets happier.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Hart 2007-11-15 22:22:48 Re: automating backups with windows scheduled tasks and pg_dumpall
Previous Message Tony Caduto 2007-11-15 22:17:21 Tom thinks it's bad code was 8.3 vs 8.2 sql compatibility issue