mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-23 08:54:12 +01:00
3e647c14c0
While filesystems is also not the right term (since it excludes ZVOLs), we want to stay consistent with comments & terminology used in docs. BREAK CONFIG fixes #17
27 lines
650 B
YAML
27 lines
650 B
YAML
jobs:
|
|
- name: fullbackup_prod1
|
|
|
|
# connect to remote using ssh / stdinserver command
|
|
type: push
|
|
connect:
|
|
type: ssh+stdinserver
|
|
host: prod1.example.com
|
|
user: root
|
|
port: 22
|
|
identity_file: /root/.ssh/id_ed25519
|
|
|
|
# snapshot these datsets every 10m with zrepl_ as prefix
|
|
filesystems: {
|
|
"zroot/var/db<": "ok",
|
|
"zroot/usr/home<": "!",
|
|
}
|
|
snapshot_prefix: zrepl_
|
|
interval: 10m
|
|
|
|
# keep a one day window 10m interval snapshots in case push doesn't work (link down, etc)
|
|
# (we cannot keep more than one day because this host will run out of disk space)
|
|
prune:
|
|
policy: grid
|
|
grid: 1x1d(keep=all)
|
|
|