Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Backup of a running container with vzdump

178 bytes added, 03:02, 20 May 2010
Synopsis: updated man page
vzdump OPTIONS [--all | <VMID>]
  --exclude VPSID VMID exclude VPSID VMID (assumes --all)
--exclude-path REGEX exclude certain files/directories. You
can use this option more than once to specify
multiple exclude paths
--stdexcludes exclude temorary temporary files and logs
--compress compress dump file (gzip)
--storage STORAGE_ID store resulting files to STORAGE_ID (PVE only)
--script execute hook script
--dumpdir DIR store resulting files in DIR
--maxfiles N maximal number of backup files per VM. --tmpdir DIR store temporary files in DIR. --suspend and --stop are using this directory to store a copy of the VM.
--mailto EMAIL send notification mail to EMAIL. You can use
this option more than once to specify multiple
receivers
--stop stop/start VPS VM if running --suspend suspend/resume VPS VM when running
--snapshot use LVM snapshot when running
--size MB LVM snapshot size (default 1024)
lock. vzdump uses a global lock file to make
sure that only one instance is running
(running sereral several instance puts too much load
on a server). Default is 180 (3 hours).
--stopwait MINUTES maximal time to wait until a VM is stopped.
--restore FILENAME restore FILENAME
== Examples ==
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].
8
edits