MyNixOS website logo
option

programs.borgmatic.backups.<name>.location.patterns

Patterns to include/exclude.

See the output of borg help patterns for the syntax. Pattern paths are relative to / even when a different recursion root is set.

Mutually exclusive with .

Declarations
Type
null or (list of string)
Default
null
Example
[
  "R /home/user"
  "- home/user/.cache"
  "- home/user/Downloads"
  "+ home/user/Videos/Important Video"
  "- home/user/Videos"
]