PostgreSQL, WIndows, regular backup
От
Zlatko Matić
Тема
PostgreSQL, WIndows, regular backup
Дата
Msg-id
006501c57d94$21429290$f07a8353@zlatko58zaczpv
Список
Дерево обсуждения
Re: PostgreSQL, WIndows, regular backup SCassidy@overlandstorage.com
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
pg_dump -f D:\MYDB_BCP -Fc -x -h localhost -U postgres MYDB
How to include timestamp ?
В списке pgsql-general по дате отправления