Open avlasov-mos-de opened 7 years ago
Can one of the admins verify this patch?
Document explaining purpose and manual steps done https://docs.google.com/a/mirantis.com/document/d/1bi2m3OZ6v2ax7Xn_A8TpmAH-0S2eDSN5aDZYU-0I9I0/edit?usp=sharing
Related PRs: https://github.com/Mirantis/mk2x-cookiecutter-reclass-model/pull/93 https://github.com/Mirantis/reclass-system-salt-model/pull/270 https://github.com/salt-formulas/salt-formula-backupninja/pull/1 https://github.com/salt-formulas/salt-formula-opencontrail/pull/19 https://github.com/salt-formulas/salt-formula-maas/pull/16
as you can see from the actual command I'm excluding imaged from backup(as they can be downloaded at any time) and should be really light. Also psql or mysql backups done the samr way they stored in /var/backups and the can be sync somewhere else
@fpytloun ?
But you still need to use fs_includes to make backup into remote location which is primary use-case, eg. freeipa is the same use-case: https://github.com/salt-formulas/salt-formula-freeipa/blob/master/freeipa/meta/backupninja.yml#L4
But FreeIPA requires dump of database, etc. that's only reason why /var/lib/ipa/backup is used to make local backup before backing up remotely. I don't think it's required in this case as fs_includes and excludes should be enough.
List of related PRs coming later