Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 182662

Re: Requires clarification on accessing snapshot files

$
0
0

Hi Shiva,

Thanks for reply. I have done some progress.Following is the code snippet using for querydiskchangedarea.

 

  String changeId = "52 a0 df 53 4f 90 0b 19-7b 14 80 28 68 f7 d2 a3/13";

               int diskDeviceKey = 2000;

               DiskChangeInfo changes = null;

               long position = 0, tot_len = 0;

               do {

                   changes = vimPort.queryChangedDiskAreas(vmMor, snapshot, diskDeviceKey, position, changeId);

                  .........................

              }

 

The issue is that if i pass "*" and write those block , its working fine. If i pass changedId as above (previous snapshot), queryChangedDiskAreas reporting vector of offset and length.But the files copied on source VM is not writing to destination VM. destination VM is on previous state itself. I have not encountered with any error though.


Viewing all articles
Browse latest Browse all 182662

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>