when create a archive the container config will be the fist file in archive. This is useful if we recover the archive. --- PVE/VZDump/OpenVZ.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/VZDump/OpenVZ.pm b/PVE/VZDump/OpenVZ.pm index 779c3a1..9fa37c7 100644 --- a/PVE/VZDump/OpenVZ.pm +++ b/PVE/VZDump/OpenVZ.pm @@ -253,7 +253,7 @@ sub archive { my $cmd = "("; $cmd .= "cd $snapdir;find . $findargs|sed 's/\\\\/\\\\\\\\/g'|"; - $cmd .= "tar cpf - $taropts --null -T -"; + $cmd .= "tar cpf - $taropts etc/vzdump/vps.conf --null -T -"; my $bwl = $opts->{bwlimit}*1024; # bandwidth limit for cstream $cmd .= "|cstream -t $bwl" if $opts->{bwlimit}; $cmd .= "|$comp" if $comp; -- 1.7.10.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel