Problems with rolling back

lumox

Member
May 29, 2020
111
5
23
42
it is probably my fault because it is likely that I haven't yet understood how the rollback in Proxmox works.

I tried to rollback to a previous snapshot of a LXT (before_unbound):

beforeu.jpg

But after I ran it I got this error message:

afterpro.jpg

So, how can I possibly get back to a previous configuration I thought I had saved with a snapshot?
Thanks
 
Hi,
this is a limitation of ZFS. You need to remove the more recent snapshot first. Another way to get back to that state is to clone the container (and selecting the appropriate snapshot).
 
  • Like
Reactions: lumox
Hi,
this is a limitation of ZFS. You need to remove the more recent snapshot first. Another way to get back to that state is to clone the container (and selecting the appropriate snapshot).

I did a backup of the "after_unbound" snapshot and put the file elsewhere, so I think I saved the last configuration this way. I think that I'll remove the more recent snapshot as you says. Anyway It would have been much easier getting back "on the fly" to a previous snapshot.
I didn't know about this limitation of ZFS. Thanks
 
Please note that a backup only includes the current state and no snapshots.
 
Please note that a backup only includes the current state and no snapshots.

I'm not sure what you mean with current state. Did I save the "NOW" configuration? In that case it would be ok since I saved the "after unbound" configuration before removing it. Thanks again
 
I'm not sure what you mean with current state. Did I save the "NOW" configuration?
Yes.
In that case it would be ok since I saved the "after unbound" configuration before removing it.
NOW also includes all modifications since the after_unbound-snapshot was taken. It's only the same if the container wasn't running since the snapshot was taken.
 
  • Like
Reactions: lumox