The case is quite simple: I have automatic snapshots and expiry set. One container has a historical snapshot that I want to keep longer than its expiry. Is there a way to do that? I am using ZFS.
Something like
lxc snapshot unset c1/snap7788 expires
I am aware of two alternative approaches:
-
Restore the snapshot and re-snapshot without expiry - but due to being on ZFS I will loose the current state unless I clone it first
-
Just do a ZFS send and restore the snapshot on a new container when I want to use it
Likely also editing the database directly would do the trick?