zfs snapshots

touch foo.txt
zfs snapshot zroot/home/user@create_foo
touch bar.txt
zfs snapshot zroot/home/user@create_bar
zfs list -t snapshot
NAME                         USED  AVAIL  REFER  MOUNTPOINT
zroot/home/user@create_foo    64K      -   132K  -
zroot/home/user@create_bar     0B      -   140K  -

Let's say I've removed foo.txt by a mistake.

rm foo.txt

I can now rollback to my latest snapshot to get it back.

zfs rollback zroot/home/user@create_bar

I can't rollback to the user@create_foo, it has to be the latest one.