4 ms·
Does it make sense to snapshot the entire root dir or just the home directory? Asking about desktop PC.
by pawelduda 5y ago
Does it make sense to snapshot the entire root dir or just the home directory? Asking about desktop PC.
- tiernano 5y agoProbably home did, maybe etc and var, maybe other important dirs... full root would include temp and logs that may not be needed and folders that don't change often
- solarengineer 5y agoFor Solaris 11 and for Illumos based distros, snapshotting the entire root is normal. That way, with an OS update and application update, the logs are associated with that particular root file system. You can always look into earlier snapshots to learn of what the logs contained for that earlier root file system. With Boot Environments (I don't know if Linux based Distros let one do this) on Solaris and Illumos, we have multiple active root file systems to switch between and can mark snapshots for each of them. Certainly, for Belenix (KDE based opensolaris distro), we snapshotted the entire root file system.
- throw0101a 5y ago> For Solaris 11 and for Illumos based distros, snapshotting the entire root is normal. FreeBSD stole this feature from Solaris as well: * https://www.freebsd.org/cgi/man.cgi?beadm https://www.freebsd.org/cgi/man.cgi?beadm * https://wiki.freebsd.org/BootEnvironments https://wiki.freebsd.org/BootEnvironments
- vermaden 5y ago... and Illumos stole Bhyve and Bootloader from FreeBSD? :) IMHO implemented or ported is better word here.
- 5wp3 5y agoThis is implemented for Arch Linux with bieaz or zbm; and Ubuntu with zsys. bieaz: https://openzfs.github.io/openzfs-docs/Getting%20Started/Arch%20Linux/Root%20on%20ZFS/4-optional-configuration.html#boot-environment-manager https://openzfs.github.io/openzfs-docs/Getting%20Started/Arc... zbm: https://github.com/zbm-dev/zfsbootmenu https://github.com/zbm-dev/zfsbootmenu zsys: https://github.com/ubuntu/zsys https://github.com/ubuntu/zsys
- E39M5S62 5y agoZFSBootMenu isn't just for Arch. It's developed on Void Linux, and support for Debian, Ubuntu, Gentoo and Arch has also been added. Void is the first-class citizen here.
- vermaden 5y agoYes, like that: https://is.gd/BECTL https://is.gd/BECTL