mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
10 lines
216 B
Bash
Executable File
10 lines
216 B
Bash
Executable File
#!/bin/bash
|
|
|
|
read -r -d '' VMS < <( onevm list --extended -x | \
|
|
/var/lib/one/remotes/datastore/xpath.rb --stdin \
|
|
%m%/VM_POOL/VM/USER_TEMPLATE/BACKUP/../../ID )
|
|
|
|
for VM in $VMS; do
|
|
onevm backup $VM
|
|
done
|