[pve-devel] r6488 - vzdump/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Aug 18 07:06:58 CEST 2011


Author: dietmar
Date: 2011-08-18 07:06:58 +0200 (Thu, 18 Aug 2011)
New Revision: 6488

Modified:
   vzdump/trunk/ChangeLog
   vzdump/trunk/Makefile
   vzdump/trunk/VZDump.pm
   vzdump/trunk/changelog.Debian
Log:
 run pre-restart hook after snapshot


Modified: vzdump/trunk/ChangeLog
===================================================================
--- vzdump/trunk/ChangeLog	2011-08-17 11:57:44 UTC (rev 6487)
+++ vzdump/trunk/ChangeLog	2011-08-18 05:06:58 UTC (rev 6488)
@@ -1,3 +1,7 @@
+2011-08-18  Proxmox Support Team  <support at proxmox.com>
+
+	* VZDump.pm (exec_backup_task): run pre-restart hook after snapshot
+
 2011-06-28  Proxmox Support Team  <support at proxmox.com>
 
 	* OpenVZ.pm (*_vm): add --skiplock flag again (problem fixe in

Modified: vzdump/trunk/Makefile
===================================================================
--- vzdump/trunk/Makefile	2011-08-17 11:57:44 UTC (rev 6487)
+++ vzdump/trunk/Makefile	2011-08-18 05:06:58 UTC (rev 6488)
@@ -13,7 +13,7 @@
 
 VERSION=1.2
 PACKAGE=vzdump
-PKGREL=14
+PKGREL=15
 
 #ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 #RPMARCH:=$(shell rpm --eval %_build_arch)

Modified: vzdump/trunk/VZDump.pm
===================================================================
--- vzdump/trunk/VZDump.pm	2011-08-17 11:57:44 UTC (rev 6487)
+++ vzdump/trunk/VZDump.pm	2011-08-18 05:06:58 UTC (rev 6488)
@@ -935,10 +935,10 @@
 		$cleanup->{resume} = 1;
 	    }
 
+	    $plugin->snapshot ($task, $vmid);
+
 	    $self->run_hook_script ('pre-restart', $task, $logfd);
 
-	    $plugin->snapshot ($task, $vmid);
-
 	    if ($snapshot_count > 1) {
 		debugmsg ('info', "resume vm", $logfd);
 		$cleanup->{resume} = 0;

Modified: vzdump/trunk/changelog.Debian
===================================================================
--- vzdump/trunk/changelog.Debian	2011-08-17 11:57:44 UTC (rev 6487)
+++ vzdump/trunk/changelog.Debian	2011-08-18 05:06:58 UTC (rev 6488)
@@ -1,3 +1,9 @@
+vzdump (1.2-15) unstable; urgency=low
+
+  *  run pre-restart hook after snapshot
+
+ -- Proxmox Support Team <support at proxmox.com>  Thu, 18 Aug 2011 07:04:19 +0200
+
 vzdump (1.2-14) unstable; urgency=low
 
   * add --skiplock flag agian, depend on newer vzctl




More information about the pve-devel mailing list