You are here: Home Database PostgreSQL Basics Backup on Windows Server
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 473
Total Pages: 286
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 19.04.2012 15:21
 

Backup on Windows Server

by Wyden Silvan last modified 31.03.2011 14:40

http://wiki.postgresql.org/wiki/Automated_Backup_on_Windows

You must first create a file pgpass.conf:

localhost:5432:*:openerp:PASSWORD

File backup.bat

SET PGPASSFILE=C:\OpenERP\backup\pgpass.conf
"C:\OpenERP\OpenERP 6.0\PostgreSQL\bin\pg_dump.exe" -F c -U openerp > C:\OpenERP\backup\backup_trimada.backup trimada