Name

snapper-backup-configs — Configuration files for snapper backup configs

DESCRIPTION

Each file /etc/snapper/backup-configs/*.json describes a snapper backup config.

The file uses JSON syntax containing a single object with key-value pairs.

KEY VALUE PAIRS

The following is a list of keys that can be present in the configuration file.

config

Name of the snapper config.

target-mode

Either local or ssh-push.

source-path

Path of the subvolume or mount point.

target-path

Path of the subvolume or mount point.

automatic

Boolean for enabling automatic transfer and delete for the backup config using a systemd timer service.

ssh-host

Name of the target host. Required for target mode ssh-push.

ssh-port

Port of the target host. Optional for target mode ssh-push.

ssh-user

User on the target host. Optional for target mode ssh-push.

ssh-identity

An ssh-identity to access the host without requiring a password or passphrase. Optional for target mode ssh-push.

EXAMPLES

An example backup config for local backups:

{
    "config": "root",
    "target-mode": "local",
    "automatic": true,
    "source-path": "/",
    "target-path": "/backups/root"
}
    

An example backup config for remote backups via ssh-push:

{
    "config": "root",
    "target-mode": "ssh-push",
    "automatic": false,
    "source-path": "/",
    "target-path": "/backups/eberich/root",
    "ssh-host": "backups.example.com",
    "ssh-identity": "/etc/snapper/certs/id_ecdsa"
}
    

HOMEPAGE

http://snapper.io/

AUTHORS

Arvin Schnell

SEE ALSO

snbk(8), snapper(8)