Linux - General This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-05-2014, 09:28 AM
|
#1
|
Member
Registered: Sep 2009
Location: Central New York
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?
Thanks for your expertise!
|
|
|
08-06-2014, 02:53 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by theKbStockpiler
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?
|
|
|
08-06-2014, 10:46 AM
|
#3
|
Member
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986
Original Poster
Rep:
|
RAID just makes a duplicate of your personal storage right so RAID would not backup system files then.
|
|
|
08-06-2014, 01:43 PM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
RAID != backup. Ever.
|
|
|
08-06-2014, 02:01 PM
|
#6
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Apologies if it's unsolicited but RAID 5, for example, is perticularly not a backup and not worth the discs it's written upon.
|
|
|
08-06-2014, 03:53 PM
|
#7
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070
|
Quote:
Originally Posted by theKbStockpiler
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.
|
|
|
All times are GMT -5. The time now is 10:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|