How do I rollback with childrens zfs filesystems?

Hello.
Before as I'm starting works I make snapshot zfs snapshot -r zroot@<date>. Then I change /etc/rc.conf and do rollbackl zfs rollback zroot@<date>. But file /etc/rc.conf it remains the same. What I did wrong?
 
Snapshot works on the whole zpool, but rollback is per-dataset.

And that is an important distinction I learned a few years ago on these Forums.

Just run zfs list and look at the listed datasets. And yes, you have to roll back every single dataset. That's a simple and reliable way to make sure you don't lose track of which file is in which dataset.

Just the way ZFS works. Once you get used to that, life with ZFS will be easier.

HTH
 
Back
Top