5a2babd514
This patchset introduces the framework by which all OSH-based database systems can use to backup and restore their databases. The framework is refactored from the Postgresql backup and restore logic. This will prevent alot of code duplication in the backup restore scripts across each cluster. In the process, some improvements needed to be made: 1) Removing the need for 2 separate containers to do the backup and restore work to a remote gateway. This simplifies the design and enables a higher level of robustness. 2) Adding separate "days to keep" config value for remote backup files, as there may be different requirements for the remote files than the local backup files. 3) Adding capability to send Storage_Policy when creating the remote RGW swift container. 4) Making coding style improvement for readability and maintainability. 5) Fixing a deployment bug that occurs when remote backup is disabled. Change-Id: I3a3482ad67320e89f04305b17da79abf7ad6eb45 |
||
---|---|---|
.. | ||
db-backup-restore | ||
_create-s3-bucket.sh.tpl | ||
_create-s3-user.sh.tpl | ||
_db-drop.py.tpl | ||
_db-init.py.tpl | ||
_db-pg-init.sh.tpl | ||
_image-repo-sync.sh.tpl | ||
_ks-domain-user.sh.tpl | ||
_ks-endpoints.sh.tpl | ||
_ks-service.sh.tpl | ||
_ks-user.sh.tpl | ||
_rabbit-init.sh.tpl | ||
_rally_test.sh.tpl |