Skip to content

garden.backups

Define borg backup jobs.

Type: attribute set of (submodule)

Default:

{ }

Declared by:

Whether to enable borgbackup job.

Type: boolean

Default:

"true"

Example:

true

Declared by:

List of glob patterns to exclude from the backup.

Type: list of string

Default:

[ ]

Example:

[
"*.cache"
"*.tmp"
]

Declared by:

Path to the file containing the Borg repository passkey.

Type: absolute path

Default:

"the `<name>-passphrase` key in the borg secrets"

Declared by:

List of paths to back up.

Type: list of absolute path

Default:

[ ]

Example:

[
"/home/user/Documents"
"/etc"
]

Declared by:

The Borg repository location.

Type: string

Default:

"the job's name"

Declared by:

Built from ef8c592 on 2026-11-24