From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnEja-0002j6-EW for qemu-devel@nongnu.org; Wed, 30 Aug 2017 21:57:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnEjV-0004cd-LN for qemu-devel@nongnu.org; Wed, 30 Aug 2017 21:57:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49198) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnEjV-0004cM-F2 for qemu-devel@nongnu.org; Wed, 30 Aug 2017 21:57:25 -0400 Date: Thu, 31 Aug 2017 09:57:18 +0800 From: Fam Zheng Message-ID: <20170831015718.GE17741@lemon.lan> References: <1504120538-9309-1-git-send-email-chugh.ishani@research.iiit.ac.in> <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> Subject: Re: [Qemu-devel] [PATCH 1/3] Backup Tool: Manpage for Incremental Backup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ishani Chugh Cc: qemu-devel@nongnu.org, jsnow@redhat.com, stefanha@redhat.com On Thu, 08/31 00:45, Ishani Chugh wrote: > Adds command description to perform incremental backup and > a full example for the same. > > Signed-off-by: Ishani Chugh > --- > contrib/backup/qemu-backup.texi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/contrib/backup/qemu-backup.texi b/contrib/backup/qemu-backup.texi > index 7ad266c..8e5cb86 100644 > --- a/contrib/backup/qemu-backup.texi > +++ b/contrib/backup/qemu-backup.texi > @@ -58,6 +58,7 @@ qemu-backup command [command options]. > @item qemu-backup restore --guest guestname > @item qemu-backup guest remove --guest guestname > @item qemu-backup drive remove --guest guestname --id driveid > +@item qemu-backup backup --inc --guest guestname > @end itemize > @node Command Parameters > @chapter Command Parameters > @@ -67,6 +68,7 @@ qemu-backup command [command options]. > @item --id: id of guest or drive. > @item --qmp: Path of qmp socket. > @item --target: Destination path on which you want your backup to be made. > +@item --inc: incremental backup (Optional). > @end itemize > > @node Command Descriptions > @@ -119,6 +121,11 @@ This command helps remove a drive which is set for backup in configuration of gi > > example: drive remove --guest=fedora --id=root > > +@item qemu-backup backup --inc --guest guestname > +This command is used for making incremental backup. > + > +example: qemu-backup backup --inc --guest fedora Could you document the output file name generation? Fam > + > @item A full backup can be performed by following the given steps: > > Perform a full backup of 'vm001', which has one drive: > @@ -129,6 +136,17 @@ qemu-backup add --id drive0 --guest vm001 --target /backups/vm001-drive0.img > > qemu-backup backup --guest vm001 > > +@item An incremental backup can be performed by following the given steps: > + > +Perform an incremental 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 --inc --guest vm001 > + > +qemu-backup backup --inc --guest vm001 > > @end itemize > > -- > 2.7.4 > >