zrepl/cmd/sampleconf/pullbackup/backuphost.yml
2017-09-07 11:18:06 +02:00

22 lines
540 B
YAML

fullbackup_prod1:
# connect to remote using ssh / stdinserver command
type: pull
connect:
type: ssh+stdinserver
host: prod1.example.com
user: root
port: 22
identity_file: /root/.ssh/id_ed25519
# pull all offered filesystems to storage/backups/zrepl/pull/prod1.example.com
mapping: {
"<":"storage/backups/zrepl/pull/prod1.example.com"
}
# follow a grandfathering scheme for filesystems on the right-hand-side of the mapping
prune:
policy: grid
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d