กว่าจะได้ลง Example Backup Script รอกันนานเลย
#//////////////////////////////////////////////////////////////
#!/bin/bash
#Backup Script
user="root"
pass="password"
host="192.168.168.1"
bazaarvcb="/usr/local/bin/bazaarvcb"
n_backup=1
vmname=("VM_1" "VM_2" "VM_3")
dis="/mnt/backup/bazaarvcbbackup"
for i in "${vmname
do
$bazaarvcb backup -H $host -u $user -p $pass --roll-out $n_backup $i $dis
done
#//////////////////////////////////////////////////////////////