LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 08-05-2014, 08:28 AM   #1
theKbStockpiler
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: Reputation: 53
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!
 
Old 08-06-2014, 01:53 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by theKbStockpiler View Post
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 View Post
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 View Post
How does it differ from raid?
What kind of "snapshot-like" functionality does RAID offer?
 
Old 08-06-2014, 09:46 AM   #3
theKbStockpiler
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: Reputation: 53
RAID just makes a duplicate of your personal storage right so RAID would not backup system files then.
 
Old 08-06-2014, 12:43 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
RAID != backup. Ever.
 
Old 08-06-2014, 12:50 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by theKbStockpiler View Post
RAID just makes a duplicate of your personal storage right so RAID would not backup system files then.
This is not how a RAID works.

http://en.wikipedia.org/wiki/RAID
http://en.wikipedia.org/wiki/Standard_RAID_levels
http://searchstorage.techtarget.com/definition/RAID
 
Old 08-06-2014, 01:01 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Apologies if it's unsolicited but RAID 5, for example, is perticularly not a backup and not worth the discs it's written upon.
 
Old 08-06-2014, 02:53 PM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by theKbStockpiler View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Best method/software to make snapshots of my system Ryanms3030 Linux - Newbie 2 01-21-2014 05:42 AM
Installing a system with btrfs, managing root snapshots LightSeeker Linux - Newbie 0 10-28-2013 11:44 PM
[SOLVED] System File is Full (100%) How can I relieve the situation? mike-member Linux - Newbie 8 03-14-2011 02:32 AM
Ideal Slackware system for £500 - ideas ? bgeddy Slackware 4 02-05-2007 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration