qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/3] Add manpage for QEMU Backup Tool


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 3/3] Add manpage for QEMU Backup Tool
Date: Tue, 22 Aug 2017 16:26:13 +0100
User-agent: Mutt/1.8.3 (2017-05-23)

On Mon, Aug 21, 2017 at 04:40:39PM +0530, Ishani Chugh wrote:
> address@hidden  List of Commands
> address@hidden  List of Commands
> address@hidden
> address@hidden qemu-backup guest add --guest guestname --qmp socketpath
> address@hidden qemu-backup guest list
> address@hidden qemu-backup drive add --id driveid --guest guestname --target 
> target
> address@hidden qemu-backup drive add --all --guest guestname --target target
> address@hidden qemu-backup drive list --guest guestname
> address@hidden qemu-backup backup [--inc] --guest guestname
> address@hidden qemu-backup restore --guest guestname
> address@hidden qemu-backup guest remove --guest guestname
> address@hidden qemu-backup drive remove --guest guestname --id driveid
> address@hidden itemize
> address@hidden  Command Parameters
> address@hidden  Command Parameters
> address@hidden
> address@hidden --all: Add all the drives present in a guest which are 
> suitable for backup.
> address@hidden --guest: Name of the guest.
> address@hidden --id: id of guest or drive.
> address@hidden --inc: (Optional) For incremental backup.
> address@hidden --qmp: Path of qmp socket.
> address@hidden --target: Destination path on which you want your backup to be 
> made.
> address@hidden itemize

It would be helpful to give an example that demonstrates the workflow.
That way new users will know which sub-commands to use and in which
order.  Something like:

Perform a full backup of 'vm001', which has one drive:

  $ qemu-backup guest add --guest vm001 --qmp /path/to/vm001.sock
  $ qemu-backup add --id drive0 --guest vm001 --target /backups/vm001-drive0.img
  $ qemu-backup backup --guest vm001

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]