snapshots, rollbacks and critical information.

Posted by mylinuxguy@reddit | linuxadmin | View on Reddit | 3 comments

I've never used snapshots where you can decide to 'rollback' one if you decided that something broke and you want to go back to a previous version. On the surface.. it seems like a nice thing thing to be able to do. Maybe it's the best thing ever.. but I can see issues. I wanted to see if I am thinking of them incorrectly or not.

Out of the box... it's sort of easy to see why you'd want to have separate / ( or @ ) and /home ( or home ) snapshots. If you upgrade a kernel and find out a few days later that it's bad and want to do a rollback, if /home was not separate, when you did the rollback to fix the kernel issue, you'd wipe out days of user changes.

But when you have a busy server with Mail Directories, Database Directories, Docker Containers, VMs, etc where data is spread all over /var and /etc and maybe /srv and /opt how do you do a snapshot / rollback and not loose critical information?

Are snapshots for 'simple' systems or do people actually figure out which specific dir in /var that can be restored and which ones can't be restored and have complex directory structures or what exactly?

Thinking that maybe snapshots are not something I want... but I can see where it would be nice to have... I can also see me wiping out important data by mistake.