Solved

Merging Vmware snapshot file

Posted on 2011-03-01
6
1,892 Views
Last Modified: 2012-08-14
If I understand when creating a snapshot in vmware, a delta file gets created. Any new data that gets written to disk goes to the delta file, this will help us to revert back to the old version.

 - I would like to know how to manually merge the Delta file with the original file?
- I also would like to know when using back up image level (VrangerPro) or file level (Netbackup), if the delta file gets merged to the orginal file. If we have multiple snapshot then perform a backup, would this merge all the snapshots(delta files) with the original file or just the last snapshot?
- If I go to vmware and check the snapshots after the back, what am I supposed to see there? just the original file?

Thanks
0
Comment
Question by:jskfan
6 Comments
 
LVL 4

Accepted Solution

by:
evgeny_f31 earned 125 total points
ID: 35005059
you merge delta with original by deleting snapshot in vmware, then all the data written to the original vmdk file.
afaik, backup soft doesnt aware of vmware snapshot, and just backing up the current state of the vm.
0
 

Author Comment

by:jskfan
ID: 35005475
didn't get it you might have missed some words.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 125 total points
ID: 35006902
You merge snaps by going into snapshot manager and choosing to Delete the snap (or Delete all to merge all snaps). Merging/Deleting snaps is always a manual process, except when using VM backup software (like Veeam). VM b/u software will create a snap during the b/u (or replication) process), then automatically remove the snap upon completion of the job. You can also remove/delete/merge snaps via cmd line too.

Here are some good reads on snaps if you haven't already seen them "jskfan":
Snapshot Best Practices: http://kb.vmware.com/kb/1025279
Commit Snaps When Not in Snapshot Mgr: http://kb.vmware.com/kb/1002310
Commit Snaps via Cmd Line: http://kb.vmware.com/kb/1026380
Understanding Snaps: http://kb.vmware.com/kb/1015180

When backing up a VM, it's always best to *not* have a snap on that VM. You will have to check with your VM backup software vendor/support to verify its functionality with current snaps on a VM. Veeam will backup all files, including snaps. It creates its own snap of the VM, then remove the snap it creates once the b/u or repl job is done.

If you look in the VM's folder after all snaps are committed/deleted/merged (all used for some function when refering to snaps -> a snap delete merges data from delta to the delta's parent virt disk, which may be another snap in a tree of snaps. When the data is fully merged/commited to the delta's parent disk, the current snap is then deleted, thus why VMware uses 'Delete Snapshot'. If there are several snaps on a VM, the process continues until all snaps have been merged, and then deleted.)

Hope that helps.

Regards,
~coolsport00
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 4

Assisted Solution

by:mail2vijay1982
mail2vijay1982 earned 125 total points
ID: 35017103

Hi,

Please go through the below link, before deleting snapshot.

http://sfons.blogspot.com/2008/12/vmware-snapshot-files-deltavmdk-will.html
0
 
LVL 3

Assisted Solution

by:prak_seafarer
prak_seafarer earned 125 total points
ID: 35019036
u can goto the snapshot manager and do a delete all. this will merge all the snapshots into the main flat file.
0
 

Author Closing Comment

by:jskfan
ID: 35024560
Thanks Guys!
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

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.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…

856 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