ansible-postgresql icon indicating copy to clipboard operation
ansible-postgresql copied to clipboard

Backup strategy using pg-dump

Open gmauro opened this issue 4 years ago • 4 comments

from @sj213

gmauro avatar Nov 18 '21 14:11 gmauro

Have you seen https://github.com/galaxyproject/ansible-postgresql/pull/30 ? I mentioned it on @sj213's PR but I guess it might've been missed.

hexylena avatar Nov 18 '21 14:11 hexylena

I am pinging Sj. Let's wait for a comment from him

gmauro avatar Nov 18 '21 14:11 gmauro

As far as I can see #30 is about the WAL-archiving backup method; at usegalaxy.eu we have been using plain old DB dumps (using pg_dumpall(1)) ever since we started the site and I prefer sticking with that method for the time being, mainly because I have no practical experience with WAL-archiving. Given the current (and ever growing) size of the database we might one day need to reconsider but for the moment I just wanted to carry our status quo over to the new server instance. I didn't rly intend to push the PR upstream either, that's why I closed my first PR when I realized it had propagated upward. Of course, we should merge the fixes for WAL-archiving from 'galaxyproject' into 'usegalaxy.eu', for possible future use.

sj213 avatar Nov 18 '21 16:11 sj213

and I prefer sticking with that method for the time being

Fair enough!

I'll give this a whirl and merge it. Thanks for upstreaming it though, we definitely appreciate it! A traditional pg_dumpall is still a fantastic option for a lot of smaller servers (and bigger ones too!)

hexylena avatar Nov 19 '21 09:11 hexylena