You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only other possibilities would be to keep track of the contents of DIR and exclude everything except config within DIR, which is cumbersome and error prone, or to copy DIR/config to some other place before the backup.
The text was updated successfully, but these errors were encountered:
Eventho my own 'config-files' usually only contain one include line, I have implemented this via a small wrapper script.
This one is for borg, but should work in attic the same way:
The relevant line is 'INCLUDELIST=$(egrep -v '^(#| |$)' $INCLUDEFILE)' which loads the file without comments and just passes this list as a commandline parameter.
First of all, thank you for this impressive peace of software.
I think the counterpart to the
--exclude
switch could be useful.Use case: a huge directory
DIR
which should be excluded and a configuration fileDIR/config
which should be archived.The only other possibilities would be to keep track of the contents of
DIR
and exclude everything exceptconfig
withinDIR
, which is cumbersome and error prone, or to copyDIR/config
to some other place before the backup.The text was updated successfully, but these errors were encountered: