NAUbackup / VmBackup

XenServer simple backup script
228 stars 61 forks source link

Feature request backup host #63

Closed drorzeno closed 6 years ago

drorzeno commented 6 years ago

Hey friend, How i can backup only the VMs on the currect host? (Not ALL VMs pools).

Thank you

NAUbackup commented 6 years ago

Interesting thought. You could actually write a script to pull off all VMs from a given host and populate a custom configuration file by appending the list to a pre-defined stub containing all the other configuration information. That could in turn be then also run from a cron job that performs the actual backup. "xe vm-list resident-on=(host-UUID) params=name-label --minimal" should give you a comma-delimited list of such VMs.

NAUbackup commented 6 years ago

I am closing this thread, since it should be possible t achieve this with scripts.