Im having trouble scripting. I have never done scripting before and need desperately to get this going.
I need to run the following commands in a script and then in a cron job.
virsh suspend "VM"
rsync --inplace ~/"vm disk" ~/NAS
virsh resume "VM"
Can anyone help please?