Solved

Vmware Snapshot

Posted on 2010-09-04
9
804 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
ID: 33604958
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 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 72 total points
ID: 33604975
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
ID: 33604983
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 5

Assisted Solution

by:EnriquePhoenix
EnriquePhoenix earned 71 total points
ID: 33605112
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
 
LVL 16

Assisted Solution

by:danm66
danm66 earned 71 total points
ID: 33605588
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
ID: 33605900
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
ID: 33613631
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
ID: 33613660
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
ID: 33613695
thanks guys
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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 …
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

830 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