MyNixOS website logo
option

services.restic.backups.<name>.exclude

Patterns to exclude when backing up. See https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files for details on syntax.

Declarations
Type
list of string
Default
[ ]
Example
[
  "/var/cache"
  "/home/*/.cache"
  ".git"
]