-
Notifications
You must be signed in to change notification settings - Fork 11
Snapshots
Troy Prelog edited this page Jun 14, 2020
·
1 revision
- Use
-n
to name your snapshot - If the jails name is
homeassistant
The following would, on Oct 3 2018
create a snapshot named [email protected]
sudo iocage snapshot homeassistant -n $(date +%Y.%m.%d)
sudo iocage snaplist homeassistant
sudo iocage stop homeassistant
sudo iocage rollback homeassistant -n 2018.10.03
sudo iocage start homeassistant
sudo iocage snapremove homeassistant -n 2018.10.03
If you need to restart the jail iocage docs recommend using the -s
switch.
This "soft-restart" will help prevent issues that could arise from a "hard-restart" when vnet=on
sudo iocage restart -s homeassistant
You can also start or stop the jail.
sudo iocage [start|stop] homeassistant