diff mbox series

[1/3] Backup Tool: Manpage for Incremental Backup

Message ID 1504120538-9309-2-git-send-email-chugh.ishani@research.iiit.ac.in
State New
Headers show
Series [1/3] Backup Tool: Manpage for Incremental Backup | expand

Commit Message

Ishani Aug. 30, 2017, 7:15 p.m. UTC
Adds command description to perform incremental backup and
a full example for the same.

Signed-off-by: Ishani Chugh <chugh.ishani@research.iiit.ac.in>
---
 contrib/backup/qemu-backup.texi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Fam Zheng Aug. 31, 2017, 1:57 a.m. UTC | #1
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 <chugh.ishani@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

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
> 
>
diff mbox series

Patch

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