Solved

How exactly do backup snapshots work?????

Posted on 2004-10-18
4
458 Views
Last Modified: 2013-12-02
Our company is getting ready to implement a snap server 4500 and Symantec's LiveState Recovery backup software.  I understand what a snapshot does, but how exactly does it work.  If I am going to take a snapshot of a system volume that I will send over the network to the snap server for backup how does the snapshot exactly work.  If I am correct a snapshot only takes a few seconds to create.  If we bring down a database for a minute to have the data snapped then the database returns to it's live state what stops a newer version of a file from being backuped and not the snapped verison.  Also where is the work being done to create the actual full snapshot file (IE. the server or backup device).  I hope that made some sense.  Thanks for your help.  
0
Comment
Question by:icarus2256
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Caseybea
ID: 12341519
I can't speak for SYmantec's software-- but in general, here is how snapshots work- I hope this helps:

When a snapshot is taken, basically that is the moment the "clock" starts ticking.   From that moment forward, the system starts "logging" the BEFORE-STATE changes of data.

I'll use a simple example of a file.   The file is "fred.txt" and contains three lines:

moo
cow
bird

Now, we take a SNAPSHOT.

Then, some time after the snapshot--  we EDIT that file, and change it.   (it now says "moo, cow, DOG").    BUT---  the snapshot software, that's been running since we started it a while back, REMEMBERS that the last line of that file was "bird".

From a storage perspective-- the only "space" utilized by a snapshot is the space required to log (what was there before) changes were made.  

Physically, something like 95% of the snapshot data is actually copied from the LIVE RUNNING VOLUME.

It's pretty cool technology.

It's also much different and more complex than that; the above is a simplified example.   Most snapshot technology actually works from block-level of storage volumes, and not "parts of files".   It actually monitors "parts of disks", and when something changes on the live running volume-- the snapshot keeps a copy of what was there BEFORE.....

If you think about this a bit more- you also have to know that the "longer" you leave a snapshot in place--  if the volume you've "copied" changes a lot, the space required for the snapshot information will grow and grow and grow,....    ultimately, you NEED TO kill (remove) the snapshot data.

I hope this exlanation helps.    Remember- it's more complicated than this; I am simply trying to put it in terms that makes sense for most folks.

-kcb
0
 

Author Comment

by:icarus2256
ID: 12341923
So let make sure I have this right.  If I am backing up a file and the contents of the file include three lines showing:

moo
cow
bird

Then at that moment I take the snapshot.

Then, while the data is being backuped someone changes the file and adds the line:

dog

What if the backup job was complete before the file was changed.  The file I backuped would say (moo, cow, bird) correct??  So basically a snapshot is like a base full backup with incrementals after that point??  Please clarify.  Thanks
0
 

Author Comment

by:icarus2256
ID: 12342050
My IT manager just asked me a great question.  Let's say I backup an entire database and then continue forward with incremental snapshots.  Let's also say a table inside of that database contains 2,000,000 records and one day just a single record is changed.  Now is my snapshot going to copy across just that single record change or the entire database with 2,000,000 records??  What kind of file extension would that single record change be in??  I basically want to know how fast disk space could be used up with the snapshot.  Thanks
0
 
LVL 11

Accepted Solution

by:
WeHe earned 125 total points
ID: 12342586
It will only copy the blocks of information on your disks which have changed.
But keep in mind, the worst case for a snapshot is a complete data change, what means you need space for the snapshot in the same size as the active volume.
In your example it will be only the harddisk space, the single record needs.
btw, a incremental snapshot will need more space over time, because every snapshot will grow with every datachange.
> What kind of file extension would that single record change be in??
You can use the snapshot like the original filesystem. You will see the databasefile as normal, just the record will be the old.
>  I basically want to know how fast disk space could be used up with the snapshot
It depends on your data changing rate.
If you change about 3GB Data per day, every snapshot will grow about 3GB per day.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Nexus OS - OSPF Command 3 32
reserve ip based on mac addresses 6 73
Use of Training Budget 12 69
Linux as a middle box 7 31
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now