Skip to content

--exclude in the example docker-compose doesnt match what the README says #178

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

You must be logged in to vote

I might have answered my own questions - but the README & the examples are wildly out of date:

  RESTIC_BACKUP_ARGS: >-
    --tag docker-volumes
    --exclude varlib/
    --exclude calibre/Calibre\ Library
    --exclude /mnt/**/cache
    --exclude *.tmp
    --verbose

A snippet above - this Worked! But following the examples it looked like

  RESTIC_BACKUP_ARGS: >-
    --tag docker-volumes
    --exclude='varlib/'
    --exclude='calibre/Calibre Library'
    --exclude='/mnt/**/cache'
    --exclude='*.tmp'
    --verbose

The spaces didn't work as noted back in 2021 - and with the '=' sign all the excludes were ignored.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@djmaze
Comment options

Answer selected by grendelson
Comment options

You must be logged in to vote
0 replies
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