[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] backup: QEMU Backup Tool
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] backup: QEMU Backup Tool |
Date: |
Wed, 16 Aug 2017 14:55:38 +0100 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
On Fri, Aug 11, 2017 at 06:34:00PM +0530, Ishani Chugh wrote:
> qemu-backup will be a command-line tool for performing full and
> incremental disk backups on running VMs. It is intended as a
> reference implementation for management stack and backup developers
> to see QEMU's backup features in action. The tool writes details of
> guest in a configuration file and the data is retrieved from the file
> while creating a backup. The location of config file can be set as an
> environment variable QEMU_BACKUP_CONFIG. The usage is as follows:
>
> Add a guest
> python qemu-backup.py guest add --guest <guest_name> --qmp <socket_path>
>
> Add a drive for backup in a specified guest
> python qemu-backup.py drive add --guest <guest_name> --id <drive_id>
> [--target <target_file_path>]
>
> Create backup of the added drives:
> python qemu-backup.py backup --guest <guest_name>
>
> List all guest configs in configuration file:
> python qemu-backup.py guest list
>
> Restore operation
> python qemu-backup.py restore --guest <guest-name>
>
> Remove a guest
> python qemu-backup.py guest remove --guest <guest_name>
>
> Signed-off-by: Ishani Chugh <address@hidden>
> ---
> contrib/backup/qemu-backup.py | 309
> ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 309 insertions(+)
> create mode 100644 contrib/backup/qemu-backup.py
Please see my previous review comments. They have not been addressed
yet:
https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg02021.html
signature.asc
Description: PGP signature