I wanted to backup my omv-extras repo machine while it was running. I was able to back it up and restore to a VM with no problems. So, I tried this with an OMV VM and it works as well. I thought I would post this here first before moving it to the forum. I don't think it needs to be a plugin but I thought it might be handy
Backup - (don't mount the backup drive using web interface unless it will be there when you restore)
Restore (please ask for help in a new thread for restoring - not easy!)
Code