MyNixOS website logo
option

services.borgbackup.jobs.<name>.readWritePaths

By default, borg cannot write anywhere on the system but $HOME/.config/borg and $HOME/.cache/borg. If, for example, your preHook script needs to dump files somewhere, put those directories here.

Declarations
Type
list of path
Default
[ ]
Example
[
  "/var/backup/mysqldump"
]