Re: Creating a backup of a hypervisor snapshot

2014-11-10 Thread Mike Tutkowski
I should test this out, but I'm thinking the current logic of "blindly" deleting all previous hypervisor snapshots for a given volume will be incompatible with the "Take VM Snapshot" feature (where a hypervisor snapshot is created for the VM and every disk the VM is using). If you've taken a VM Sn

Re: Creating a backup of a hypervisor snapshot

2014-11-10 Thread Mike Tutkowski
So, interesting, I'm now using XenServer 6.2 (with the patches that CloudStack ends up calling XenServer 6.2.5). When I created a second snapshot/backup of my volume, another hypervisor snapshot was created and the data contained in the second hypervisor snapshot was copied to secondary storage (a

Re: Creating a backup of a hypervisor snapshot

2014-11-07 Thread Mike Tutkowski
Let me look into this again. At the time, I was busy implementing some other functionality when I came across what seemed like an existing issue in our code. It is odd to me that old (hypervisor) snapshots never get deleted and the code I copy/pasted in has the purpose of deleting those old snapsh

RE: Creating a backup of a hypervisor snapshot

2014-11-07 Thread Stephen Turner
Mike, are you saying that XenCenter disagrees with xe? That doesn't seem right as they both get their info from the same API. Maybe XenCenter is looking at something subtly different. XenCenter is open source (https://github.com/xenserver/xenadmin), so you can consult the source to see what it'