[pve-devel] [PATCH manager] fix #1005: don't exclude /var/log/?* with stdexcludes

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jun 8 10:02:35 CEST 2016


the old behaviour can be easily restored with --exclude-path
and this seemed to surprise a lot of users.
---
 PVE/CLI/vzdump.pm | 1 -
 PVE/VZDump.pm     | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/PVE/CLI/vzdump.pm b/PVE/CLI/vzdump.pm
index a048a38..75d2bb7 100755
--- a/PVE/CLI/vzdump.pm
+++ b/PVE/CLI/vzdump.pm
@@ -119,7 +119,6 @@ You can specify a hook script with option C<--script>. This script is called at
 
 vzdump skips the following files wit option --stdexcludes
 
- /var/log/?*
  /tmp/?*
  /var/tmp/?*
  /var/run/?*pid
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 4587a9d..1e00c2d 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -558,8 +558,7 @@ sub new {
     }
 
     if ($opts->{stdexcludes}) {
-	push @$findexcl, '/var/log/?*',
-	                 '/tmp/?*',
+	push @$findexcl, '/tmp/?*',
 	                 '/var/tmp/?*',
 	                 '/var/run/?*.pid';
     }
-- 
2.1.4




More information about the pve-devel mailing list