PostgreSQL, WIndows, regular backup - Mailing list pgsql-general

From Zlatko Matić
Subject PostgreSQL, WIndows, regular backup
Date
Msg-id 006501c57d94$21429290$f07a8353@zlatko58zaczpv
Whole thread Raw
List pgsql-general
Hello.
I would appreciate if someone helps me to resolve this problem about regular backups on Windows. I have a batch file (.bat) for backup, but don't know how to include timestamp in backup file name. In this way I allways have only one, the most recent, backup file. I want Windows to produce regular backups with timestamp in file's name...The script is the following:
pg_dump -f D:\MYDB_BCP -Fc -x -h localhost -U postgres MYDB
How to include timestamp ?

 
 

pgsql-general by date:

Previous
From: Jason Tesser
Date:
Subject: Re: COnsidering a move away from Postgres
Next
From: "Uwe C. Schroeder"
Date:
Subject: Re: COnsidering a move away from Postgres