Changes

Jump to: navigation, search

Backup of a running container with vzdump

786 bytes added, 16:21, 17 November 2009
Add bug in version 1.1-2 with workaround + minor style modification
== Bugs ==
'''(not fixed in 1.1-2)'''
The rsync command used by vzdump to create the backup in suspend mode does not support the "--exclude-path" option.
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: http://forum.openvz.org/index.php?t=msg&goto=36924&<pre>User: tatawakiMessages: 3Registered: December 2008 Junior MemberFrom: *sbm.shawcable.net Line 694:my $rsyncopts = "--stats --numeric-ids --bwlimit=${opt_bwlimit}"; # changes to my $rsyncopts = "--stats --numeric-ids --bwlimit=${opt_bwlimit}";$rsyncopts = $rsyncopts." --exclude-from=/home/backups/exclude_vzdump.txt"; the txt file contains <VEID>/home/: 1094/home/510/opt/...</pre> '''(fixed in 1.1-1)'''
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter "--snapshot" and if the logical volume name contains a hyphen.
 ''Workaround:'' One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.
A bug report was sent to proxmox on 02 June 2008.
Other distributions or versions may be affected, too.
[[Category: HOWTO]]
Anonymous user

Navigation menu