ManageIQ / manageiq-documentation

Documentation for the ManageIQ Management Platform
https://www.manageiq.org/docs/
Other
38 stars 113 forks source link

It is not required to stop services before backup #1767

Closed jrafanie closed 9 months ago

jrafanie commented 9 months ago

pg_basebackup docs even describe taking online backups and even concurrent backups. Perhaps this was a requirement at one time but is no longer needed.

https://www.postgresql.org/docs/13/app-pgbasebackup.html

https://www.postgresql.org/docs/13/app-pgdump.html

miq-bot commented 9 months ago

Checked commit https://github.com/jrafanie/manageiq_documentation/commit/2852fc30350c8b0c4a22cbfc4caa212c8b1711f2 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint 0 files checked, 0 offenses detected Everything looks fine. :cake:

Fryguy commented 9 months ago

I thought we were using pg_dump, not pg_basebackup. If it's the former, does that change your original statement?

jrafanie commented 9 months ago

I thought we were using pg_dump, not pg_basebackup. If it's the former, does that change your original statement?

We recommend both. They're both supported and have different use cases. We're actually advising here to use pg_basebackup for one time backups and pg_dump for scheduled backups a bit further down.

Neither one requires the services be shut down to run a backup/dump.

Fryguy commented 9 months ago

Backported to quinteros in commit d69191b2f78cf577285c8a97192ccaa19145eaa5.

commit d69191b2f78cf577285c8a97192ccaa19145eaa5
Author: Brandon Dunne <brandondunne@hotmail.com>
Date:   Mon Nov 27 11:21:46 2023 -0500

    Merge pull request #1767 from jrafanie/remove_stop_evm_server_processes_backup_prereq

    It is not required to stop services before backup

    (cherry picked from commit 67aba48f1ece59df3308ec0a6932888aa2f817ec)