I remove my SD cards from my HC2s and clone them offline. Works fine.
But I figure that it should be possible to configure OMV to use two root filesystems while booting.
On the card there might be three partitions:
boot - this is the normal boot partition.
rootfs - this is the normal root fs with OMV.
rootfs2 - this is a new minimal root fs.
OMV first boot to rootfs2.
A script in rootfs2 creates a new offline snapshot off rootfs. Stored in rootfs2? Or somewhere else?
A script in rootfs2 reboots to OMV in rootfs.
Then in rootfs the updated snapshot may be copied to some other location, possibly on the network. Also old snapshots may be deleted so that perhaps only the latest five are kept. After/before updating or changing the configuration all that would be needed to perform a system backup is to reboot. It might even be possible to add an option to revert rootfs to the previous snapshot, and reboot. A little like timeshift.
Could this work? Can something like this be implemented in OMV, perhaps as an option if the boot media is big enough? With 32 GB SD cards or thumbdrives it should be fine.
Or perhaps as a DIY hack of the boot process? Can you reboot from one root fs to another rootfs? Or do you have to update the boot partition and then reboot?
Is this something that someone already is doing? If so, please comment.