mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
backup: Prevent snapshots and checkpoints at same time
Earlier patches mentioned that the initial implementation will prevent snapshots and checkpoints from being used on the same domain at once. However, the actual restriction is done in this separate patch to make it easier to lift that restriction via a revert, when we are finally ready to tackle that integration in the future. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -4669,6 +4669,10 @@ a persistent domain. However, for transient domains, snapshot
|
||||
metadata is silently lost when the domain quits running (whether
|
||||
by command such as B<destroy> or by internal guest action).
|
||||
|
||||
For now, it is not possible to create snapshots in a domain that has
|
||||
checkpoints, although this restriction will be lifted in a future
|
||||
release.
|
||||
|
||||
=item B<snapshot-create-as> I<domain> {[I<--print-xml>]
|
||||
[I<--no-metadata>] [I<--halt>] [I<--reuse-external>]} [I<name>]
|
||||
[I<description>] [I<--disk-only> [I<--quiesce>]] [I<--atomic>]
|
||||
@@ -4735,6 +4739,10 @@ If I<--live> is specified, libvirt takes the snapshot while the guest is
|
||||
running. This increases the size of the memory image of the external
|
||||
snapshot. This is currently supported only for external full system snapshots.
|
||||
|
||||
For now, it is not possible to create snapshots in a domain that has
|
||||
checkpoints, although this restriction will be lifted in a future
|
||||
release.
|
||||
|
||||
=item B<snapshot-current> I<domain> {[I<--name>] | [I<--security-info>]
|
||||
| [I<snapshotname>]}
|
||||
|
||||
@@ -4943,6 +4951,10 @@ a persistent domain. However, for transient domains, checkpoint
|
||||
metadata is silently lost when the domain quits running (whether
|
||||
by command such as B<destroy> or by internal guest action).
|
||||
|
||||
For now, it is not possible to create checkpoints in a domain that has
|
||||
snapshots, although this restriction will be lifted in a future
|
||||
release.
|
||||
|
||||
=item B<checkpoint-create-as> I<domain> [I<--print-xml>]
|
||||
[I<name>] [I<description>] [I<--quiesce>] [I<--diskspec>] B<diskspec>]...
|
||||
|
||||
@@ -4966,6 +4978,10 @@ If I<--quiesce> is specified, libvirt will try to use guest agent
|
||||
to freeze and unfreeze domain's mounted file systems. However,
|
||||
if domain has no guest agent, checkpoint creation will fail.
|
||||
|
||||
For now, it is not possible to create checkpoints in a domain that has
|
||||
snapshots, although this restriction will be lifted in a future
|
||||
release.
|
||||
|
||||
=item B<checkpoint-edit> I<domain> I<checkpointname>
|
||||
|
||||
Edit the XML configuration file for I<checkpointname> of a domain.
|
||||
|
||||
Reference in New Issue
Block a user