Skip to contentSkip to conversation

xm save (but don't destroy)

DISCUSSION Killian De Volder 2 participants 3 messages Oct 12, 2010

lore
Share & tools
lore
#0 lore raw

Hello all,

I'm sure this has been asked before but I couldn't find a reference:
I desire to pauze/save the state of dom, backup/snapshot the disk and then unpauze the domain.

This can be done with xm save, but this destroy the machine, effectively doubling the required time to snapshot the machine. (As you first have to save it to disk .... and then load it again ... With machine with a couple gigabyes of RAM this can start to take a while.)

I did see xend/XendCheckpoint.py has some code in it that decides if it will destroy or resume the machine ... This makes me thing that adding the option "leave pauzed" isn't to hard ?

Greeting and thanks in advance,
Killian

#1 lore raw
Quoted 6 lines · Killian De Volder

Hello all,

I'm sure this has been asked before but I couldn't find a reference:
I desire to pauze/save the state of dom, backup/snapshot the disk and then unpauze the domain.

Quoted 8 lines

This can be done with xm save, but this destroy the machine, effectively doubling the required time to snapshot the machine.
(As you first have to save it to disk .... and then load it again ... With machine with a couple gigabyes of RAM this can start to take a while.)

I did see xend/XendCheckpoint.py has some code in it that decides if it will destroy or resume the machine ... This makes me thing that adding the option "leave pauzed" isn't to hard ?

xm save -c

-- Keir

Quoted 9 lines

Greeting and thanks in advance,
Killian

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

But that won't leave the VM in pauzed state ...
As a result you cannot backup the disks ...

But I have been thinking ...
Would
xm pauze
backup/snapshot disk
xen save -c
work ?

Or will this introduce unexpected problems ?

Greetings,
Killian

Quoted 37 lines
Quoted 6 lines · Killian De Volder

Hello all,

I'm sure this has been asked before but I couldn't find a reference:
I desire to pauze/save the state of dom, backup/snapshot the disk and then unpauze the domain.

Quoted 8 lines

This can be done with xm save, but this destroy the machine, effectively doubling the required time to snapshot the machine.
(As you first have to save it to disk .... and then load it again ... With machine with a couple gigabyes of RAM this can start to take a while.)

I did see xend/XendCheckpoint.py has some code in it that decides if it will destroy or resume the machine ... This makes me thing that adding the option "leave pauzed" isn't to hard ?

xm save -c

-- Keir

Quoted 9 lines

Greeting and thanks in advance,
Killian

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel