#1 2019-10-11 21:19:50

sgocken
Member
Registered: 2019-10-11
Posts: 1

Backup all VMs

The docs don't say how to backup all VMs like you can in XSIBackup-PRO.
I want to always backup all VMs running or shutdown.
As our end users can deploy and destroy VMs using a web frontend(Open Nebula), it would be an accounting nightmare to have to update a VMs( ) list. And that doesn't even take into account having VMs move via vMotion.

Also on the note of vMotion, I didn't see in the docs the option to temp turn off vMotion while running a backup.

Thanks

Offline

#2 2019-10-12 09:25:04

admin
Administrator
Registered: 2017-04-21
Posts: 1,390

Re: Backup all VMs

You may use a source argument like the following:

"VMs(RUNNING)"
"VMs(ALL)"

# Example

./xsibackup --backup "VMs(ALL)" /vmfs/volumes/backup01 --mail-to=you@yourdomain.com --use-smtp=3
./xsibackup --backup "VMs(RUNNING)" root@192.168.20.200:22:/vmfs/volumes/backup01 --mail-to=you@yourdomain.com --use-smtp=3

This two options will be fully documented in the next minor update, although there isn't anything else to say, they are self explanatory.

Offline

Board footer