[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] How can I take/revert snapshot of a VHD image


  • To: xen-users@xxxxxxxxxxxxx
  • From: Sean Lin <iamlinix@xxxxxxxxx>
  • Date: Tue, 26 Nov 2013 15:05:41 +0800
  • Delivery-date: Tue, 26 Nov 2013 07:06:52 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi there,

I'm running several VMs within Xen, and now I'm trying to create/revert snapshots of my VMs.

Along with Xen and blktap2, another utility, vhd-util is also delivered, and according to its description, i guess I can use it to create/revert VM snapshots.

To create a snapshot is actually easy, I just call

vhd-util snapshot -n aSnapShot.vhd -p theVMtoBackup.vhd

But when it comes to reverting a snapshot, things get really annoying

The "revert" command requires a mandatory argument "journal", like this:

vhd-util revert -n aSnapShot.vhd -j someThingCalledJournalOfWhichIHaveCompletelyNoIdea

And vhd-util expects some info from the journal, which means it's not some empty file you can write logs in.

But I've went through the code and the internet, still get no idea where this Journal comes from ??

Similar question is asked http://xen.1045712.n5.nabble.com/snapshots-with-vhd-util-blktap2-td4639476.html but poor guy never get answered.

Hope someone here could help me out!!

Really appreciate it!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.