Hello,
What is a good approach to PostgreSQL backups? (yep, a newbie)
(The server crashed and IT was not able to bring it back from the Acronis images - so rebuilding from scratch - ugh! - want to have a secondary system, that lesson is learnt!)
Ideally, having the compressed backup that pgAdmin is able to do run on some sort of Task Scheduler would be ideal... but seemingly no functionality for this...
So presumably write a DOS (sic) script to do a pg_dump once a week for every database and a pg_dumpall for the whole cluster (so I get the groups, roles, etc) say every month?? (to a separate network location)
Is there a 'lessons learned' style documentation online that I can ingest?
I was reading about Slony - but for the size of the database cluster (at least presently) it seems overkill? Or should I look at that?
Thanks in advance for any pointers, documentation links, etc...
Cheers:
GREG...
What is a good approach to PostgreSQL backups? (yep, a newbie)
(The server crashed and IT was not able to bring it back from the Acronis images - so rebuilding from scratch - ugh! - want to have a secondary system, that lesson is learnt!)
Ideally, having the compressed backup that pgAdmin is able to do run on some sort of Task Scheduler would be ideal... but seemingly no functionality for this...
So presumably write a DOS (sic) script to do a pg_dump once a week for every database and a pg_dumpall for the whole cluster (so I get the groups, roles, etc) say every month?? (to a separate network location)
Is there a 'lessons learned' style documentation online that I can ingest?
I was reading about Slony - but for the size of the database cluster (at least presently) it seems overkill? Or should I look at that?
Thanks in advance for any pointers, documentation links, etc...
Cheers:
GREG...
Comment