Hello,
we operate two independent PVEs that write their backups to a shared PBS in two namespaces:
pve1/ct/103
pve1/vm/101
pve1/vm/102
...
pve2/ct/101
pve2/vm/102
pve2/vm/103...
As you can see, there are overlaps in the IDs of the two PVEs, but thanks to namespaces, this is not a problem.
We now have a tape backup job that is supposed to back up all VMs and containers for offsite backup. However, we do not want backup non productive test VMs, whose backups are also available in the PBS but are not needed in the offsite backup.
For example, on pve2, VM 102 is a test VM with 5 TB of data volume. We would now like to exclude the path pve2/vm/102 from the backup job without simultaneously filtering out VM 102 from pve1.
Unfortunately, there are no examples for our scenario in the documentation, and attempts with regex entries such as “.*pve2/vm/102.*” were unsuccessful.
Can our use case be implemented with the regex filters?
we operate two independent PVEs that write their backups to a shared PBS in two namespaces:
pve1/ct/103
pve1/vm/101
pve1/vm/102
...
pve2/ct/101
pve2/vm/102
pve2/vm/103...
As you can see, there are overlaps in the IDs of the two PVEs, but thanks to namespaces, this is not a problem.
We now have a tape backup job that is supposed to back up all VMs and containers for offsite backup. However, we do not want backup non productive test VMs, whose backups are also available in the PBS but are not needed in the offsite backup.
For example, on pve2, VM 102 is a test VM with 5 TB of data volume. We would now like to exclude the path pve2/vm/102 from the backup job without simultaneously filtering out VM 102 from pve1.
Unfortunately, there are no examples for our scenario in the documentation, and attempts with regex entries such as “.*pve2/vm/102.*” were unsuccessful.
Can our use case be implemented with the regex filters?