Created
January 10, 2019 02:48
-
-
Save grahamc/658ad0649e826459a70165f3830079cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. have a "golden" HOME store path | |
2. have a ZFS dataset at $HOME (called homedir in here) | |
3. have a "homedir@pristine" snapshot which is completely empty | |
on every reboot: | |
1. snapshot "homedir" to "homedir@YYYY-MM-DD-HH-MM-SS" | |
2. revert "homedir" to "homedir@pristine" | |
3. copy the golden HOME store path to $HOME | |
... prune homedir@YYY... snapshots regularly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment