Solved

Vmware Snapshot

Posted on 2010-09-04
9
802 Views
Last Modified: 2012-05-10
Vmware has a snapshot feature. Is this a backup of the VM machine? where does it store the backup?

Why would people use Esxranger or other third party instead of just  taking a snapshot using vmware built in option?

thanks
0
Comment
Question by:jskfan
9 Comments
 
LVL 40

Accepted Solution

by:
coolsport00 earned 215 total points
Comment Utility
Absolutely, positively no...snapshots are NOT to be used as any kind of backup/recovery solution. And that is VMware's official stance. They are to be used for *temporary* recovery points only. You use snapshots solely for tasks such as performing OS or app-level updates. You take a snap prior to the update that way if the update 'breaks' the OS or app, you revert to the previous state. If after the update, all is well (usually can tell within a day or 2), you should immediately remove the snapshot as it can grow and take up space. The snap file (or files) are contained within the VM's file directory. I can't comment on 3rd party tools...not used them before.

Regards,
~coolsport00
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 72 total points
Comment Utility
Good answer, also I'd like to add depending on the rate of change on the vm your snapshots would be very large the snapshot would then be too large too commit and merge with the original disk.

0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 215 total points
Comment Utility
Pg. 205 of the Basic Admin Guide:
http://www.vmware.com/pdf/vsphere4/r40_u1/vsp_40_u1_admin_guide.pdf as well as this VMware Snapshot Best Practice:
http://kb.vmware.com/kb/1025279, explains more about snapshot use.

~coolsport00
0
 
LVL 5

Assisted Solution

by:EnriquePhoenix
EnriquePhoenix earned 71 total points
Comment Utility
By default, the snapshot of your VM’s are created in the same folder where the VM exist. You can move the default location by modifying the vmx file. A disk "snapshot" is a copy of the virtual machine disk file (VMDK) at a certain point in time. It preserves the disk file system and system memory of your VM by enabling you to revert to the snapshot in case something goes wrong. As mentioned earlier watch-out for space usage. I use snapshots when doing updates and installing apps on my VM, but I never let them run for a couple of days before deleting (Merging) them.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 16

Assisted Solution

by:danm66
danm66 earned 71 total points
Comment Utility
Most backup utilities, including VCB, VDR, Veeam, ESXRanger, etc...  will take a snapshot to free up the base disk(s) while the backup is ran.  For this reason, you want to monitor your systems if you are using any of those VMware-aware backup utilities to make sure that the snapshots are successfully deleted after the backup has completed.

ESX snapshots are more akin to a changelog or a db transaction log.  They do not duplicate the existing disk contents (like a SAN snapshot does with a volume), but instead create a second disk that just tracks the changes from base and/or previous snapshot.  This makes them a performance hog as every write to disk within the vm causes a file lock request, and if a new block is required to hold the change, then it must get the block from disk, zero it out, write the data, then unlock the disk.  This is very costly in terms of IOPs and will sap your performance; which is a big part of the reason they are not to be used for any length of time especially on vm's that do a lot of IO like a database.
0
 
LVL 15

Assisted Solution

by:roylong
roylong earned 71 total points
Comment Utility
for one of the best vmware backup solutions, take a look at vPower by Veeam.  It's the evolution of their veeam backup solution which backs up VMs very well.  The new features include the ability to test the validity of your VM backups after backup.
0
 

Author Comment

by:jskfan
Comment Utility
a- So Snapshot is still a backup of the VM (Vmdk)?
if the VM machines crashes during the upgrade or patch deployment or software install, we'll still be able to recover from the snapshot???

b- If I just copy the vmdk file to another location would be considered as a backup ??
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 215 total points
Comment Utility
A. Yes
B. You should copy the whole VM folder, but using just the vmdk would work...you would just need to create a new VM with no hard disk (virtual disk), then add the VMDK b/u to your new VM.
0
 

Author Closing Comment

by:jskfan
Comment Utility
thanks guys
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

728 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

13 Experts available now in Live!

Get 1:1 Help Now