Editing Backup of a running container with vzdump

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 31: Line 31:
  
 
vzdump OPTIONS [--all | <VMID>]
 
vzdump OPTIONS [--all | <VMID>]
       --exclude VMID          exclude VMID (assumes --all)
+
 
 +
       --exclude VPSID        exclude VPSID (assumes --all)
 
       --exclude-path REGEX    exclude certain files/directories. You
 
       --exclude-path REGEX    exclude certain files/directories. You
 
                               can use this option more than once to specify
 
                               can use this option more than once to specify
 
                               multiple exclude paths
 
                               multiple exclude paths
       --stdexcludes          exclude temporary files and logs
+
       --stdexcludes          exclude temorary files and logs
 
       --compress              compress dump file (gzip)
 
       --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
 
       --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.
       --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
 
       --mailto EMAIL          send notification mail to EMAIL. You can use
 
                               this option more than once to specify multiple
 
                               this option more than once to specify multiple
 
                               receivers
 
                               receivers
       --stop                  stop/start VM if running
+
       --stop                  stop/start VPS if running
       --suspend              suspend/resume VM when running
+
       --suspend              suspend/resume VPS when running
 
       --snapshot              use LVM snapshot when running
 
       --snapshot              use LVM snapshot when running
 
       --size MB              LVM snapshot size (default 1024)
 
       --size MB              LVM snapshot size (default 1024)
Line 54: Line 51:
 
                               lock. vzdump uses a global lock file to make
 
                               lock. vzdump uses a global lock file to make
 
                               sure that only one instance is running
 
                               sure that only one instance is running
                               (running several instance puts too much load
+
                               (running sereral instance puts too much load
 
                               on a server). Default is 180 (3 hours).
 
                               on a server). Default is 180 (3 hours).
 
       --stopwait MINUTES      maximal time to wait until a VM is stopped.
 
       --stopwait MINUTES      maximal time to wait until a VM is stopped.
 
+
      --restore FILENAME      restore FILENAME
 +
 
== Examples ==
 
== Examples ==
 
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].
 
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)