Anthony Chastain
Dabbler
- Joined
- Jul 27, 2017
- Messages
- 16
I've written a script that shuts down a VM, snapshots it, sends the snapshot to a file and backs that file up to an online backup. I find it better to snapshot backups while the VM is offline to prevent file system errors (starting up from a snapshot of when the VM was running is equivalent to a power failure).
I use
This seems like it should be simple; like a feature you put in before anything else, but a ton of Google searching reveals nothing. I'd honestly rather not have to write some script to web scrape the UI, but I will have I have to.
I use
ssh user@address 'sh' < poweroff.sh
to power the machine off gracefully. I can't, however, find a way to power the machine back on. I've tried bhyvectl
and iohyve
with no luck.This seems like it should be simple; like a feature you put in before anything else, but a ton of Google searching reveals nothing. I'd honestly rather not have to write some script to web scrape the UI, but I will have I have to.