]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
fix #1005: don't exclude /var/log/?* with stdexcludes
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 8 Jun 2016 08:02:35 +0000 (10:02 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 8 Jun 2016 10:34:04 +0000 (12:34 +0200)
the old behaviour can be easily restored with --exclude-path
and this seemed to surprise a lot of users.

PVE/CLI/vzdump.pm
PVE/VZDump.pm

index a048a38454a05511761687378ecfbfe48ed4d291..75d2bb777092c5d67bf257398c9f8d3b0e06d70f 100755 (executable)
@@ -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
index 4587a9d14a16f58ae14089a524d8a44feddfbe9b..1e00c2dbc3d9620adbab67d4fbaafccf4997142a 100644 (file)
@@ -558,8 +558,7 @@ sub new {
     }
 
     if ($opts->{stdexcludes}) {
-       push @$findexcl, '/var/log/?*',
-                        '/tmp/?*',
+       push @$findexcl, '/tmp/?*',
                         '/var/tmp/?*',
                         '/var/run/?*.pid';
     }