MyNixOS website logo
option

services.restic.backups.<name>.command

Command to pass to --stdin-from-command. If null or an empty array, and paths/dynamicFilesFrom are also null, no backup command will be run.

Declarations
Type
list of string
Default
[ ]
Example
[
  "sudo"
  "-u"
  "postgres"
  "pg_dumpall"
]