]> git.proxmox.com Git - pve-docs.git/blobdiff - vzdump.adoc
pvecm.adoc: small cleanups
[pve-docs.git] / vzdump.adoc
index 31f83d8c7d35ef5ff86ca60877e81ee3f760d43e..fc4246807b900fc5dd51aaa1ead6ab81b867a9a7 100644 (file)
@@ -1,7 +1,7 @@
-include::attributes.txt[]
 ifdef::manvolnum[]
 PVE({manvolnum})
 ================
+include::attributes.txt[]
 
 NAME
 ----
@@ -22,9 +22,10 @@ endif::manvolnum[]
 ifndef::manvolnum[]
 Backup and Restore
 ==================
+include::attributes.txt[]
 endif::manvolnum[]
 
-'vzdump' is an utility to make consistent snapshots of running virtual
+'vzdump' is a utility to make consistent snapshots of running virtual
 machines (VMs). It basically creates an archive of the VM private
 area, which also includes the VM configuration files. 'vzdump'
 currently supports LXC containers and QemuServer VMs.
@@ -37,10 +38,10 @@ Stop the VM during backup. This results in a very long downtime.
 
 `suspend` mode::
 
-For containers, this mode uses rsync to copy the VM to a temporary
+For containers, this mode uses rsync to copy the VM data to a temporary
 location (see option `--tmpdir`). Then the VM is suspended and a second
-rsync copies changed files. After that, the VM is started (resume)
-again. This results in minimal downtime, but needs additional space
+rsync copies changed files. After that, the VM is started (resumed)
+again. This results in minimal downtime, but needs additional space
 to hold the VM copy.
 
 For QemuServer, this mode will suspend the VM, start
@@ -53,7 +54,7 @@ underlying storage. A snapshot will be made of the container volume,
 and the snapshot content will be archived in a tar file.
 
 For QemuServer, this mode will do a live backup similar to the
-`snaphost` mode, but without suspending/resuming the VM.
+`suspend` mode, but without suspending/resuming the VM.
 
 A technical overview of the Proxmox VE live backup for QemuServer can
 be found online
@@ -62,14 +63,14 @@ https://git.proxmox.com/?p=pve-qemu-kvm.git;a=blob;f=backup.txt[here],
 Backup File Names
 -----------------
 
-Newer version of vzdump encodes the virtual machine type and the
+Newer versions of vzdump encode the virtual machine type and the
 backup time into the filename, for example
 
  vzdump-lxc-105-2009_10_09-11_04_43.tar
 
-That way it is possible to store several backup into the same
+That way it is possible to store several backup in the same
 directory. The parameter `maxfiles` can be used to specify the
-maximal number of backups to keep.
+maximum number of backups to keep.
 
 Restore
 -------
@@ -77,7 +78,7 @@ Restore
 The resulting archive files can be restored with the following programs.
 
 
-`pct restore`:: Containers restore utility
+`pct restore`:: Container restore utility
 
 `qmrestore`:: QemuServer restore utility
 
@@ -115,14 +116,14 @@ File Exclusions
 First, this option is only available for container backups. 'vzdump'
 skips the following files with option `--stdexcludes`
 
- /var/log/.+
- /tmp/.+
- /var/tmp/.+
- /var/run/.+pid
+ /var/log/?*
+ /tmp/?*
+ /var/tmp/?*
+ /var/run/?*pid
 
 Or you can manually specify exclude paths, for example:
 
- # vzdump 777 --exclude-path '/tmp/.+' --exclude-path '/var/tmp/.+'
+ # vzdump 777 --exclude-path /tmp/ --exclude-path '/var/foo*'
 
 (only excludes tmp directories)
 
@@ -138,7 +139,7 @@ configuration files to the default dump directory (usually
 
  # vzdump 777
 
-Use rsync and suspend/resume to create an snapshot (minimal downtime).
+Use rsync and suspend/resume to create a snapshot (minimal downtime).
 
  # vzdump 777 --mode suspend