Hi guys,
I’ve been selecting only specific files in few of my backups which are supposed to be cold storage backups. It’s quiet a reverse approach to excluding filters as described in most of faq and how-to’s. My filter looked like:
+*/ +*.zip +*.7z +*.gz +*.rar +*.arj +*.iso +*.msg +*.txt +*.log -*
I tried so hard to simplify this syntax to regex one:
i:/*
i:(?i).(zip|7z|gz|rar|arj|iso)$
e:.*
It seems that this filter works with one of my storages. Something weird happens when I use lightly modified filter on the another storage:
i:/*
i:(?i).(arj|zip|7z)$
e:.*
Log is full of the records:
2023-03-14 10:36:58.351 WARN OPEN_FAILURE Failed to open file for reading: open \?F:\ServerFolders\ … _1_202106.xls: Access Denied.
I don’t want to read / backup any file except the .arj, .zip and .7z! Fortunately I run this task with -dry-run parameters so my cold storage plan did not exhausted my wallet with thousands of unnecessary chunk uploads. What I’m missing?