On 11/17/2009 02:07 PM, Jesse Keating wrote:
It also works well for people who have things like homedir backup going nightly, but not full system backup. Restore to the way it was before the last yum update, recover important things from backup. It's an "oh shit" handle that has saved my bacon on other platforms before.
I'm not sure how much of this can/should be automated. From the way btrfs snapshots work the ideal workflow should be:
1) /user/ takes a snapshot. 2) user runs yum 3) rebooting/poking/(possibly) restoring
I think the best value add to this would be a yum plugin that simply emits a warning along the lines of "Your last snapshot is ### hours old. Are you sure you want to continue?"
This also keeps us out of the dangerous territory that comes with using non-ubiquitous FS features (your boot is on ext3, your root is on btrfs, your etc is on xfs and your usr is on jfs. What do you snapshot and how?)
--CJD