Locations can be seen as the input to the backup process. Generally this is simply a folder. The paths can be relative from the config file. A location can have multiple backends, so that the data is secured across multiple servers.
Note: names of locations MUST be lower case!
.autorestic.yml1version: 223locations:4 my-location-name:5 from: path/to/backup6 # Or multiple7 # from:8 # - /a9 # - /b10 to:11 - name-of-backend12 - also-backup-to-this-backend
This is the source of the location. Can be an
array for multiple sources.
Paths can be absolute or relative. If relative they are resolved relative to the location of the config file. Tilde
~ paths are also supported for home folder resolution.
This is either a single backend or an array of backends. The backends have to be configured in the same config file.