Bug 527232 - RFE: add a --replace flag to virt-clone
Summary: RFE: add a --replace flag to virt-clone
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virtinst
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-05 13:45 UTC by Dodji Seketeli
Modified: 2011-07-13 16:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-13 16:58:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Dodji Seketeli 2009-10-05 13:45:38 UTC
Once we have virt-clone'd a running VM instance to an instance named e.g. "vm-backup" there is no easy way to virt-clone the same VM instance to the same "vm-backup" instance because virt-clone complains that "vm-backup" already exists.

Such a feature would be very useful though, to regularly backup a running VM instance.

Right now, the workaround method is to virsh undefine the "vm-backup" instance before virt-clone-ing to to it again.

So a virt-clone --replace flag would be very handy.

Comment 1 Mark McLoughlin 2009-10-09 13:04:16 UTC
I imagine we'd actually implement this by explicit storage snapshot capabilities - e.g. if you could create a snapshot of the VM (rather than cloning it) and later revert the VM to the snapshot

Anyway, this is an RFE - moving to upstream bug tracker for now


Note You need to log in before you can comment on or make changes to this bug.