Skip to content

How to exclude subfolder #391

Closed Answered by m90
TmPostPrtt asked this question in Q&A
Discussion options

You must be logged in to vote

You can use BACKUP_EXCLUDE_REGEXP which matches the full filepath:

# When given, all files in BACKUP_SOURCES whose full path matches the given
# regular expression will be excluded from the archive. Regular Expressions
# can be used as from the Go standard library https://pkg.go.dev/regexp

# BACKUP_EXCLUDE_REGEXP="\.log$"

Reference https://offen.github.io/docker-volume-backup/reference/#configuration-reference

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by m90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants