Exclude not working?

I am backing up a linux system.

I have the following set up:

Excluded files (with wildcards): 
 /dev/*;/dev/*;/run/*;*/run/*;*/sys/*;*/proc/*;/proc/*;*/tmp/*;*/mnt/*;/mnt/*

However, I just got an email notification with the following error:

2025-03-19 16:13:34(error): Error while listing files in folder "/proc". User may not have permissions to access this folder. Errno is 0

Am I mistaken in believing that it tried to backup an excluded directory?

If you want to exclude /proc, add /proc to the excludes. If you add /proc/* you just exclude all files/directories in proc.

1 Like

Oh I already excluded it as shown in my original post.

I got the email with the error talking about that particular folder.

I confirmed looking at the backups that the folder is empty, so it’s not backing up its contents, but I’m not sure why that error appeared.

Your original message has “…;/proc/;/proc/*;…” which is what Uroni was pointing out - it will back up the /proc/ directory but nothing within it…

When you remove the trailing asterisk so it is “;/proc/;*/proc/” (or just "/proc/”) then it won’t even try to dip into the folder…

EDIT: This is only using /proc/ as the example directory, you will want to retain other items in the exclusion list, but probably drop the * trailing the directories…

Oh I see, I didn’t understand that. Thank you for the clarification.