bupstash icon indicating copy to clipboard operation
bupstash copied to clipboard

Exclude / include regex lists support

Open deajan opened this issue 3 years ago • 6 comments

I use to maintain a list of backup paths to exclude and file extesion lists that are already compressed in order not to recompress them. The lists can be found at https://github.com/deajan/linuxscripts/tree/master/burp/incexc and are mostly targeted towards desktop users.

Is there any chance I can use these kind of regexes in order to configure bupstash ? Also, my lists are generally quite big (biggest one has 220 regexes). Does bupstash support exluding from (multiple) files ?

Thanks.

deajan avatar Jan 29 '22 16:01 deajan

Ahem... any answers or even a RTFM link please ?

deajan avatar Apr 06 '22 15:04 deajan

Hi there, I am wondering i you meant this specific format? or if you meant just reading from files in general? It is definitely something I could consider.

andrewchambers avatar Apr 06 '22 23:04 andrewchambers

I don't really care about the format, as long as I can use REGEX exclusions from one or multiple files, since I have really big exclusion lists for clients. Top tier would be allowing to provide multiple --exclude-from-file= syntax in order to load multiple exclusion files depending on client platform.

deajan avatar Apr 07 '22 11:04 deajan

Hi folks, could we convert this issue into "Reading exclusion list from file"?

I also upvote the --exclude-from-file= feature, it's highly required for flexible integration with semi-automated and automatic tasks to backup something by a scheduler.

For example, currently exceptions must be hard-coded into a Systemd service file rather than a simple text/plain file somewhere in the host's FS.

freefd avatar Jan 09 '23 23:01 freefd

I also have been thinking a bit about supporting dynamic exclusion lists, so its not just single files.

andrewchambers avatar Jan 10 '23 02:01 andrewchambers

rsync exclude patterns like rsync --exclude-from=FILE ?

ptman avatar Aug 03 '23 08:08 ptman