I wanted to backup some VMs but exclude the /var/www/ directory, as it is saved via other method and quite large.
With VZDump the parameter --exclude-path is only supported within containers, but are there any alternatives or similar ways for VMs?
Thanks in advance!
When using exclude-path in /etc/vzdump.conf, does an entry such as:
"/tmp/?*"
only match /tmp/abc, or would it also match /home/xyz/tmp/abc?
If we want to match directories like "/home/abc/www/var/report" and "/home/def/www/var/report" would this be the right syntax:
"?*/var/report/?*"
Thanks...
Hi All,
Is there a way to backup only the first virtual drive of the VM?
I have this KVM VM with multiple virtual drives, but only want to backup the first virtual drive which is the OS drive. I've looked vzdump manual but could only find "--exclude-path" option and it is only for containers...
Hi, I have a bunch of exclude patterns in my vzdump.conf which look like this:
exclude-path: "/dir1/.+" "/dir2/.+"
invoking vzdump on the command line (or the web interface)
vzdump 100
...gives this error:
Can't use string (""/dir1/.+" "/dir2/.+"") as an ARRAY ref while "strict refs" in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.