.pxarexclude ignoring leading slash

May 17, 2022
10
1
8
I am confused as it seems that my proxmox-backup-client does ignore lines in the .pxarexclude file starting with a slash '/'.

I have put the following .pxarexclude file in a subdirectory that is being backed up:
Code:
/test1
/test2/
/test3/*
test4/
test5/*

the resulting backup has the following directories and files in that subdirectory:
Code:
test1/file
test2/file
test3/file
test5

so test4 is fully excluded and test5 is empty.

There is a note in the client documentation: "Patterns without a leading <span>/</span> will also match in subdirectories,while patterns with a leading <span>/</span> will only match in the current directory."

So I would expect that /test2/ should exclude the test2 directory and /test3/* should create an empty test3 directory in the backup?
It seems that the entries starting with a slash '/' are being ignored?

I am using the debian bookworm version of the client, so it is version 3.4.1.

Thanks for any hints what I am misinterpreting.