Boot environments
Bootable copies of the entire root filesystem, so a botched upgrade is undone by rebooting and picking yesterday's system.
The idea comes from Solaris, where Live Upgrade long built a second system copy to upgrade into. ZFS made it cheap: a boot environment is a clone of the root dataset, and thanks to copy-on-write it costs almost no space until something changes. OpenSolaris and then Solaris 11 created a fresh one automatically on every system update, managed with beadm.
FreeBSD first had a third-party port of beadm, then gained its own bectl in the base system in 2018. The loader lists environments in its menu, so a broken upgrade becomes a matter of choosing the right line. illumos still uses beadm. Linux has no standard equivalent, which makes this one of the BSD world's more underrated selling points.