Hi, I have a bunch of exclude patterns in my vzdump.conf which look like this:
invoking vzdump on the command line (or the web interface)
...gives this error:
I've tried 10 different ways to write the "exclude-path:" assignment with no success (single quotes, making lists (a,b,c), or with square brackets, etc.). I'm no perl expert so I was just fooling around. Maybe someone knows how to get this write?
Even this in vzdump.conf doesn't work:
or this:
Basically, the config file is useless for exclude-path! When we figure this out, the wiki should be updated since the syntax doesn't work. I'd be happy to test out a patch to the perl code.
Code:
exclude-path: "/dir1/.+" "/dir2/.+"
Code:
vzdump 100
...gives this error:
Code:
Can't use string (""/dir1/.+" "/dir2/.+"") as an ARRAY ref while "strict refs" in use at /usr/share/perl5/PVE/VZDump.pm line 581. (500)
I've tried 10 different ways to write the "exclude-path:" assignment with no success (single quotes, making lists (a,b,c), or with square brackets, etc.). I'm no perl expert so I was just fooling around. Maybe someone knows how to get this write?
Even this in vzdump.conf doesn't work:
Code:
exclude-path: '/dir1/.+'
Code:
exclude-path: /dir1/.+
Basically, the config file is useless for exclude-path! When we figure this out, the wiki should be updated since the syntax doesn't work. I'd be happy to test out a patch to the perl code.