2 4.2 Excluded backup locations
Asif Bacchus edited this page 2020-05-24 01:56:42 -06:00

excludeLocations.borg

This is a plain-text file containing borg-specific patterns describing what files you'd like ignored during the backup. These can be files within the default backup set and/or locations you have specified in your list of extra locations (e.g. xtraLocations.borg). To specify exclusions, list them one per line in this file. If you want to use a different file, simply update the entry in backup.details:

borgExcludeListPath='/path/to/your/exclusions.list'

You need to run 'borg help patterns' for information on how to specify exclusion patterns since the format is not always standard shell format and only sometimes uses standard regex format.

In most cases, this file will be skipped since you probably want to back everything up. The included sample file is already blank but you can explicitly skip exclusion processing to speed things up by commenting-out the relevant line in backup.details as follows:

#borgExcludeListPath=...