Solved

Vmware Snapshot

Posted on 2010-09-04
9
808 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 121

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
Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

707 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