Adds command description to perform incremental backup and a full example for the same.
Signed-off-by: Ishani Chugh <chugh.ish...@research.iiit.ac.in> --- 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 + @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