Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my virtualization system there are some VMs. One of them was aimed for testing some services on it. So in this case I need to have the first state of that VM.

I searched for a solution found the snapshot as a good approach for it. Then searched further and found out that virsh can do it form by snapshot-create. But besides that, there is another command, snapshot-create-as. I read both of them, and both of them act the same.

Now my question is, what is the difference between snapshot-create and snapshot-create-as?

Please describe in detail!!

share|improve this question
# virsh help snapshot-create-as
Create a snapshot (disk and RAM) from arguments

vs.

# virsh help snapshot-create
Create a snapshot (disk and RAM) from XML

Apparently one can create an xml file using snapshot-create-as, then use that with snapshot-create.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .