How andrewlinuxadmin/backup_exadata_kvm works
This repository is an Ansible workflow for backing up Exadata KVM VMs to NFS. The documented path is: an operator starts the playbook, which validates the destination, discovers VMs and plans space and retention before running the per-VM role; the playbook then reports any failures. The role creates temporary reflink copies, archives and verifies them, cleans up, and records checksums and reports. Relationships below follow the README; no source excerpts were available to confirm task-level implementation details.
Main entry points: tasks/main.yml Per-VM role · backup_kvm.yml Validate and timestamp · defaults/main.yml Role defaults
Components 16
Run orchestration
- Backup playbook
backup_kvm.yml - Validate and timestamp
backup_kvm.yml - Discover VMs
backup_kvm.yml - Summarize failures
backup_kvm.yml
Space and retention
- Plan space and retention
backup_kvm.yml - Remove old backups
backup_kvm.yml
Per-VM backup
- Role defaults
roles/backup_exadata_kvm/defaults/main.yml - Per-VM role
roles/backup_exadata_kvm/tasks/main.yml - Stage XML and reflinks
roles/backup_exadata_kvm/tasks/main.yml - Create tar archive
roles/backup_exadata_kvm/tasks/main.yml - Verify archive
roles/backup_exadata_kvm/tasks/main.yml - Remove temporary data
roles/backup_exadata_kvm/tasks/main.yml - Checksum and reports
roles/backup_exadata_kvm/tasks/main.yml
Other components
- Operator
- NFS destination
- KVM VM images
Connections 22
- Operator → Backup playbook: runs
README.md - Backup playbook → Validate and timestamp: starts
README.md - Validate and timestamp → NFS destination: checks mount
README.md - Validate and timestamp → Discover VMs: then discovers
README.md - Discover VMs → KVM VM images: searches
README.md - Discover VMs → Plan space and retention: sizes VMs
README.md - Plan space and retention → NFS destination: checks capacity
README.md - Plan space and retention → Remove old backups: plans removal
README.md - Remove old backups → NFS destination: removes backups
README.md - Remove old backups → Per-VM role: then runs per VM
README.md - Role defaults → Per-VM role: configures
README.md - Per-VM role → Stage XML and reflinks: creates staging
README.md - Stage XML and reflinks → KVM VM images: reads images
README.md - Stage XML and reflinks → Create tar archive: provides staged files
README.md - Create tar archive → NFS destination: writes tar
README.md - Create tar archive → Verify archive: then verifies
README.md - Verify archive → NFS destination: compares archive
README.md - Verify archive → Remove temporary data: then cleans
README.md - Remove temporary data → Checksum and reports: then records
README.md - Checksum and reports → NFS destination: writes checksum and report
README.md - Per-VM role → Summarize failures: returns failures
README.md - Summarize failures → Operator: reports failures
README.md