What is the ideal situation to use System snapshots?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986
Rep:
What is the ideal situation to use System snapshots?
What situations is using a snapshot preferable to rolling back an update or software install? What data does a snapshot store? Is it configuration files? How does it differ from raid?
What situations is using a snapshot preferable to rolling back an update or software install?
For example if, for reasons unknown, you can't provide a clone to work on that instead? If you're in a troubleshooting cycle of testing invasive changes you have no idea of if a result will stick? Snapshots basically allow you to "freeze" the current state of a system in turn allowing you to work (relatively) safely on a Live system. Care should be taken though especially with Production systems that store data that should be siphoned off before restoring to the previous state.
Quote:
Originally Posted by theKbStockpiler
What data does a snapshot store? Is it configuration files?
Depends on the method used (VMware, ZFS, etc, etc): everything (disk and RAM) up to the point of the snapshot, difference between snapshot and previous disk image, etc, etc.
Quote:
Originally Posted by theKbStockpiler
How does it differ from raid?
What kind of "snapshot-like" functionality does RAID offer?
RAID just makes a duplicate of your personal storage right so RAID would not backup system files then.
That's just confused. RAID does do something about disk failures, if done right. But that isn't a backup. Imagine, for example, you have an important file. If you delete the file, in the normal way, it will deleted on the primary storage, whether that storage uses RAID or not. You can get it back from your backup, but not from your RAID. And, in a fire or a flood, it is only your off-site backup that has a good chance, and your RAID probably doesn't have off-site disks.
So, what RAID protects you against (and then not all modes and configurations) is different from what Backup protects you against.
Whether RAID does anything about your system files depends on whether you have configured the system to keep those files on the RAID. You could choose either way, so there is no simple 'RAID does this' assertion that emerges, because it could be either, depending on configuration.
Note also that RAID 0 makes no attempt whatsoever to make your data more secure, and, in fact does the opposite, so that's another case in which 'RAID does this...' statements are a bit dangerous.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.