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 129: Line 129:
  
 
== Bugs ==
 
== Bugs ==
'''(not fixed in 1.2-4)'''
+
'''(not fixed in 1.1-2)'''
The rsync command used by vzdump to create the backup in suspend mode partially ignores the "--exclude-path" option.
+
The rsync command used by vzdump to create the backup in suspend mode does not support the "--exclude-path" option.
In fact, even if the excluded paths won't appear in the final output, the whole VPS will be moved to the temporary directory, meaning that you need as much free disk space as your VPS size to use vzdump. It can be an issue in the case of a file server handling many files...
+
So rsync backup the whole VE directory including the paths to ignore, thus making a very big backup.
  
''Workaround:'' A workaround has been proposed on OpenVZ forum, see below for the excerpt. (http://forum.openvz.org/index.php?t=msg&goto=36924&)
+
''Workaround:'' A workaround has been proposed on OpenVZ forum: http://forum.openvz.org/index.php?t=msg&goto=36924&
 
<pre>
 
<pre>
 
User: tatawaki
 
User: tatawaki

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)