Re: how to create backup copies - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: how to create backup copies
Date
Msg-id 443E077A.3080806@pse-consulting.de
Whole thread Raw
In response to how to create backup copies  ("Andrus" <eetasoft@online.ee>)
List pgadmin-support
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


pgadmin-support by date:

Previous
From: "Andrus"
Date:
Subject: how to create backup copies
Next
From: "Dave Page"
Date:
Subject: Re: how to create backup copies