[ovirt-users] oVirt 4 Hosted Engine Full Backup Workflow in single script
aleksey.maksimov at it-kb.ru
aleksey.maksimov at it-kb.ru
Fri Sep 2 06:20:54 UTC 2016
Hello oVirt guru`s !
As described in https://www.ovirt.org/documentation/admin-guide/hosted-engine-backup-and-restore/
the backup process consists of three phases:
1) On some oVirt Host:
# hosted-engine --set-maintenance --mode=global
2) On oVirt Hosted Engine VM:
# service ovirt-engine stop
# engine-backup --mode=backup --scope=all --file=/mnt/nfsshare/backup.tar --log=/mnt/nfsshare/backup.log
# service ovirt-engine start
3) On some oVirt Host:
# hosted-engine --set-maintenance --mode=none
As I understand it, the first and the third phase are performed on any oVirt Host.
The second phase runs inside oVirt Hosted Engine VM.
Because hosted-engine command not provided on Hosted Engine VM :(
I have a few questions.
1) For what stop is executed for ovirt-engine service before engine-backup?
I found an interesting script http://learnlinuxchennai.blogspot.ru/2015/08/ovirt-manager-backup-script.html
But the script is not specified stop ovirt-engine service before engine-backup.
2) Is it possible within a single script to organize all oVirt HE Backup Workflow (phase 1, then phase 2, then phase 3)
Perhaps there is an example of such a script?
More information about the Users
mailing list