MyNixOS website logo
option

services.restic.backups.<name>.paths

Which paths to backup, in addition to ones specified via dynamicFilesFrom. If null or an empty array and dynamicFilesFrom is also null, no backup command will be run. This can be used to create a prune-only job.

Declarations
Type
null or (list of string)
Default
[ ]
Example
[
  "/var/lib/postgresql"
  "/home/user/backup"
]