[{"id":1760600,"web_url":"http://patchwork.ozlabs.org/comment/1760600/","msgid":"<20170831015718.GE17741@lemon.lan>","list_archive_url":null,"date":"2017-08-31T01:57:18","subject":"Re: [Qemu-devel] [PATCH 1/3] Backup Tool: Manpage for Incremental\n\tBackup","submitter":{"id":24872,"url":"http://patchwork.ozlabs.org/api/people/24872/","name":"Fam Zheng","email":"famz@redhat.com"},"content":"On Thu, 08/31 00:45, Ishani Chugh wrote:\n> Adds command description to perform incremental backup and\n> a full example for the same.\n> \n> Signed-off-by: Ishani Chugh <chugh.ishani@research.iiit.ac.in>\n> ---\n>  contrib/backup/qemu-backup.texi | 18 ++++++++++++++++++\n>  1 file changed, 18 insertions(+)\n> \n> diff --git a/contrib/backup/qemu-backup.texi b/contrib/backup/qemu-backup.texi\n> index 7ad266c..8e5cb86 100644\n> --- a/contrib/backup/qemu-backup.texi\n> +++ b/contrib/backup/qemu-backup.texi\n> @@ -58,6 +58,7 @@ qemu-backup command [command options].\n>  @item qemu-backup restore --guest guestname\n>  @item qemu-backup guest remove --guest guestname\n>  @item qemu-backup drive remove --guest guestname --id driveid\n> +@item qemu-backup backup --inc --guest guestname\n>  @end itemize\n>  @node  Command Parameters\n>  @chapter  Command Parameters\n> @@ -67,6 +68,7 @@ qemu-backup command [command options].\n>  @item --id: id of guest or drive.\n>  @item --qmp: Path of qmp socket.\n>  @item --target: Destination path on which you want your backup to be made.\n> +@item --inc: incremental backup (Optional).\n>  @end itemize\n>  \n>  @node  Command Descriptions\n> @@ -119,6 +121,11 @@ This command helps remove a drive which is set for backup in configuration of gi\n>  \n>  example: drive remove --guest=fedora --id=root\n>  \n> +@item qemu-backup backup --inc --guest guestname\n> +This command is used for making incremental backup.\n> +\n> +example: qemu-backup backup --inc --guest fedora\n\nCould you document the output file name generation?\n\nFam\n\n> +\n>  @item A full backup can be performed by following the given steps:\n>  \n>  Perform a full backup of 'vm001', which has one drive:\n> @@ -129,6 +136,17 @@ qemu-backup add --id drive0 --guest vm001 --target /backups/vm001-drive0.img\n>  \n>  qemu-backup backup --guest vm001\n>  \n> +@item An incremental backup can be performed by following the given steps:\n> +\n> +Perform an incremental backup of 'vm001', which has one drive:\n> +\n> +qemu-backup guest add --guest vm001 --qmp /path/to/vm001.sock\n> +\n> +qemu-backup add --id drive0 --guest vm001 --target /backups/vm001-drive0.img\n> +\n> +qemu-backup backup --inc --guest vm001\n> +\n> +qemu-backup backup --inc --guest vm001\n>  \n>  @end itemize\n>  \n> -- \n> 2.7.4\n> \n>","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ext-mx05.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx05.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=famz@redhat.com"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjQWH1S1pz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 11:58:03 +1000 (AEST)","from localhost ([::1]:53532 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dnEk5-0002k6-A8\n\tfor incoming@patchwork.ozlabs.org; Wed, 30 Aug 2017 21:58:01 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:34316)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <famz@redhat.com>) id 1dnEja-0002j6-EW\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 21:57:31 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <famz@redhat.com>) id 1dnEjV-0004cd-LN\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 21:57:30 -0400","from mx1.redhat.com ([209.132.183.28]:49198)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <famz@redhat.com>) id 1dnEjV-0004cM-F2\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 21:57:25 -0400","from smtp.corp.redhat.com\n\t(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 3CCFD461DC;\n\tThu, 31 Aug 2017 01:57:24 +0000 (UTC)","from localhost (ovpn-12-59.pek2.redhat.com [10.72.12.59])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id E1BA48FC0E;\n\tThu, 31 Aug 2017 01:57:19 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 3CCFD461DC","Date":"Thu, 31 Aug 2017 09:57:18 +0800","From":"Fam Zheng <famz@redhat.com>","To":"Ishani Chugh <chugh.ishani@research.iiit.ac.in>","Message-ID":"<20170831015718.GE17741@lemon.lan>","References":"<1504120538-9309-1-git-send-email-chugh.ishani@research.iiit.ac.in>\n\t<1504120538-9309-2-git-send-email-chugh.ishani@research.iiit.ac.in>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<1504120538-9309-2-git-send-email-chugh.ishani@research.iiit.ac.in>","User-Agent":"Mutt/1.8.3 (2017-05-23)","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.11","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.29]);\n\tThu, 31 Aug 2017 01:57:24 +0000 (UTC)","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"209.132.183.28","Subject":"Re: [Qemu-devel] [PATCH 1/3] Backup Tool: Manpage for Incremental\n\tBackup","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"jsnow@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]