galaxyproject / ansible-postgresql

An Ansible role for managing a PostgreSQL server
https://galaxy.ansible.com/galaxyproject/postgresql
122 stars 58 forks source link

Backup with pg_dump #40

Open hexylena opened 2 years ago

hexylena commented 2 years ago

The fancy thing is very fancy, but lacks restore instructions and I'm not entirely sure what the restore process is, just replace the directory?

I'd love to have something simpler that just does pg_dump on cron, maybe with some hooks for admins to insert their own scripting, like @slugger70 uses to post to slack + swift.

Valeronlol commented 1 year ago

backup does not work in general. Look at ansible_postgresql_backup and ansible_postgresql_walbackup variables. It is undefined.