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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: how to create backup copies



Andrus wrote:
I created a bat file mybackup.bat

set FAILINIMI=%DATE:~8,4%%DATE:~5,2%%DATE:~2,2%eevavarukoopia.backup
"C:\Program Files\pgAdmin III\1.4\pg_dump.exe" -i -Z9 -b -v -f "C:\mydir\%FAILINIMI%" -F c -h localhost -U postgres mydb


and verified it using RUNAS that it runs OK under posgres account.

I entered c:\mydir\mycackup.bat

to a pgagent script window


however, statitics window displays the following error each time I try to run this job:

Couldn't execute script C:DOCUME~1\postgres\LOCAL~1TemppgaD591.tmp1_1.bat

Try to run CMD explicitely.

Regards,
Andreas



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group