vzdump exclude exclude-path

  1. M

    vzdump --exclude-path for VM not supported, any alternatives?

    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!
  2. robm

    vzdump exclude-path pattern match or anchored to start?

    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...
  3. C

    [SOLVED] vzdump to backup only the first drive

    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...
  4. J

    vzdump exclude-path not working from vzdump.conf

    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...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!