Closed baurmatt closed 2 years ago
This can be hacked:
concat::fragment { 'restic_fragment_restic_BACKUP_FLAGS_EXCLUDE':
content => 'BACKUP_FLAGS="--exclude /path/to/be/excluded /path/to/be/backuped"',
target => '/etc/default/restic_myapplication',
order => '100',
}
Won't be fixed. There is the parameter backup_flags
which can be used for your case.
Please make it possible to exclude files from the backup -> https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
--exclude
should be enough for now :)