This role perfoms the backup of the Hosted Engine DB to an NFS share exported via Ceph using Rados GW. When the backup is completed successfully, the playbook will send a message to a chat using a bot that you previously configured in Telegram.
- Running Ceph Cluster
- NFS Ganesha configured with the exported mountpoint
- Telegram Bot
- Telegram Bot Token
- Telegram ChatID
nfs_mount: /mnt/ceph-nfs
nfs_server: myhost.mydomain.com
nfs_path: hosted-backup
retention_days: 1w
yourbot_token: ....
yourbot_chatid: ....
None
- name: "RHV: Hosted Engine Backup"
hosts: ovirt-engine
become: yes
tags: he-backup
vars:
nfs_mount: /mnt/ceph-nfs
nfs_server: myhost.mydomain.com
nfs_path: hosted-backup
retention_days: 1w
yourbot_token: ....
yourbot_chatid: ....
roles:
- ansible-role-he-backup
GPLv3
Gianfranco Sigrisi wrote this role to automate the Hosted-Engine DB backup of his RHV Cluster.