SNAPPER-BACKUP-CON(5)
π SNAPPER-BACKUP-CON(5) π
okay bestie, welcome to the Filesystem Snapshot Management corner of the manual, this one's called SNAPPER-BACKUP-CON(5) and it's literally all about how you tell snapper where to send your backups π¦
β¨ NAME β¨
snapper-backup-configs β configuration files for snapper backup configs π
πΈ DESCRIPTION πΈ
So every single file living at /etc/snapper/backup-configs/*.json is describing one snapper backup config. That's it, that's the whole job. One file, one config, no cap.
Each file uses JSON syntax and contains a single object made of key-value pairs. Simple. Clean. Iconic. π
π KEY VALUE PAIRS π
Here's the whole list of keys that can show up in the config file. No skipping, we're doing all of them, periodt.
configβ the name of the snapper config. π«Άtarget-modeβ eitherlocalorssh-push.source-pathβ the path of the source subvolume. bestie this must match the subvolume of the corresponding snapper config, fr fr, no vibe-checking your way around it.target-pathβ the path of the target subvolume or mount point. πautomaticβ a boolean that enables automatic transfer and delete for the backup config using a systemd timer service. set it and forget it energy β¨ssh-hostβ the name of the target host. Required for target modessh-push.ssh-portβ the port of the target host. Optional for target modessh-push.ssh-userβ the user on the target host. Optional for target modessh-push.ssh-identityβ an ssh-identity to access the host without requiring a password or passphrase. Optional for target modessh-push. πtarget-btrfs-binβ location of thebtrfsbinary on the target. can also be used to install wrapper scripts. Optional.target-findmnt-binβ location of thefindmntbinary on the target. can also be used to install wrapper scripts. Optional.target-mkdir-binβ location of themkdirbinary on the target. can also be used to install wrapper scripts. Optional.target-realpath-binβ location of therealpathbinary on the target. can also be used to install wrapper scripts. Optional.target-rm-binβ location of thermbinary on the target. can also be used to install wrapper scripts. Optional.target-rmdir-binβ location of thermdirbinary on the target. can also be used to install wrapper scripts. Optional.
π EXAMPLES π
π local backups
an example backup config for local backups, look at her:
{
"config": "root",
"target-mode": "local",
"automatic": true,
"source-path": "/",
"target-path": "/backups/root"
}
π remote backups via ssh-push
an example backup config for remote backups via ssh-push, she's a little extra but we love her:
{
"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/ β go be nosy, bestie π
β AUTHORS β
Arvin Schnell <aschnell@suse.com> β the icon, the moment, the main character π
π¦ SEE ALSO π¦
and that's the whole page, you ate it up π this was version 0.13.0, dated 2025-04-09, from the SNAPPER-BACKUP-CON(5) era β go forth and back up your subvolumes, ily π
β¨
π¦ where this page comes from
- epel 10: snapper-backup 0.13.0-3.el10_3 Β· GPL-2.0-only
- fedora 44: snapper-backup 0.13.0-3.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms