[pve-devel] r5198 - vzdump/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Oct 4 11:13:12 CEST 2010


Author: dietmar
Date: 2010-10-04 09:13:12 +0000 (Mon, 04 Oct 2010)
New Revision: 5198

Modified:
   vzdump/trunk/ChangeLog
   vzdump/trunk/Makefile
   vzdump/trunk/OpenVZ.pm
   vzdump/trunk/changelog.Debian
Log:


Modified: vzdump/trunk/ChangeLog
===================================================================
--- vzdump/trunk/ChangeLog	2010-10-04 07:29:01 UTC (rev 5197)
+++ vzdump/trunk/ChangeLog	2010-10-04 09:13:12 UTC (rev 5198)
@@ -1,3 +1,7 @@
+2010-10-04  Proxmox Support Team  <support at proxmox.com>
+
+	* OpenVZ.pm (archive): use sed to quote shell escape character (backslash).
+
 2010-08-09  Proxmox Support Team  <support at proxmox.com>
 
 	* vzdump: set io priority using ionice

Modified: vzdump/trunk/Makefile
===================================================================
--- vzdump/trunk/Makefile	2010-10-04 07:29:01 UTC (rev 5197)
+++ vzdump/trunk/Makefile	2010-10-04 09:13:12 UTC (rev 5198)
@@ -13,7 +13,7 @@
 
 VERSION=1.2
 PACKAGE=vzdump
-PKGREL=7
+PKGREL=8
 
 #ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 #RPMARCH:=$(shell rpm --eval %_build_arch)

Modified: vzdump/trunk/OpenVZ.pm
===================================================================
--- vzdump/trunk/OpenVZ.pm	2010-10-04 07:29:01 UTC (rev 5197)
+++ vzdump/trunk/OpenVZ.pm	2010-10-04 09:13:12 UTC (rev 5198)
@@ -362,7 +362,7 @@
 	$out = "|cstream -t $bwl $out";
     }
 
-    $self->cmd ("(cd $snapdir;find . $findargs|" .
+    $self->cmd ("(cd $snapdir;find . $findargs|sed 's/\\\\/\\\\\\\\/g'|" .
 		"tar c${zflag}pf - $taropts --null -T - $out )");
 
 }

Modified: vzdump/trunk/changelog.Debian
===================================================================
--- vzdump/trunk/changelog.Debian	2010-10-04 07:29:01 UTC (rev 5197)
+++ vzdump/trunk/changelog.Debian	2010-10-04 09:13:12 UTC (rev 5198)
@@ -1,3 +1,11 @@
+vzdump (1.2-8) unstable; urgency=low
+
+  * correctly escape output from 'find' (escape backslash using sed). It
+    is now possible to backup files which contain a backslash
+    character.
+
+ -- Proxmox Support Team <support at proxmox.com>  Mon, 04 Oct 2010 11:10:49 +0200
+
 vzdump (1.2-7) unstable; urgency=low
 
   * use ionice to set io priority. By default, we now set "ionice -c2 -n7"




More information about the pve-devel mailing list