I would like to be able to revert jails to a past state in case something goes wrong. However, most of my jails have processes running that keep data in memory. Therefore I would like to shutdown these processes gracefully before taking the snapshot, and start them again afterwards. This should allow me to stop the jail, revert to an older version and start the jail again. Without gracefully stopping there might be some corruption if I am correct.
Is there any way to accomplish this? I though about stopping the jails from a script, but that seems to be a bad way to go as FreeNAS doesn't seem to like it when things change behind its back.
Is there any way to accomplish this? I though about stopping the jails from a script, but that seems to be a bad way to go as FreeNAS doesn't seem to like it when things change behind its back.