mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-12 02:02:16 +01:00
22 lines
540 B
YAML
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
|
|
|