URL:
https://github.com/freeipa/freeipa/pull/2492
Author: flo-renaud
Title: #2492: ipa-backup: restart services before compressing the backup
Action: opened
PR body:
"""
## ipa-backup: restart services before compressing the backup
ipa-backup gathers all the files needed for the backup, then compresses
the file and finally restarts the IPA services. When the backup is a
large file, the compression may take time and widen the unavailabity
window.
This fix restarts the services as soon as all the required files are
gathered, and compresses after services are restarted.
Fixes:
https://pagure.io/freeipa/issue/7632
## ipatest: add functional test for ipa-backup
The test ensures that ipa-backup compresses the files after the
IPA services are restarted.
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2492/head:pr2492
git checkout pr2492