autorestic/docs/pages/location/options/exclude.md
Nicco 8eea7d33f8
delete old docs (#327)
* delete old docs

* new docs
2023-10-08 19:24:04 +02:00

517 B

Excluding files

If you want to exclude certain files or folders it done easily by specifying the right flags in the location you desire to filter.

The flags are taken straight from the restic cli exclude rules so you can use any flag used there.

locations:
  my-location:
    from: /data
    to: my-backend
    options:
      backup:
        exclude:
          - '*.nope'
          - '*.abc'
        exclude-file: .gitignore