mirror of
http://gitlab.bashclub.org/bashclub/zsync.git
synced 2024-11-23 19:53:07 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# replication target path on local machine
|
|
target=pool/dataset
|
|
|
|
# ssh address of remote machine
|
|
source=user@host
|
|
|
|
# ssh port of remote machine
|
|
sshport=22
|
|
|
|
# zfs user parameter to identify filesystems/volumes to replicate
|
|
tag=bashclub:zsync
|
|
|
|
# pipe separated list of snapshot name filters
|
|
snapshot_filter="hourly|daily|weekly|monthly"
|
|
|
|
# minimum count of snapshots per filter to keep
|
|
min_keep=3
|
|
|
|
# number of zfs snapshots to keep on source (0 or 1 = snapshot function disabled)
|
|
zfs_auto_snapshot_keep=0
|
|
|
|
# make snapshot via zfs-auto-snapshot before replication
|
|
zfs_auto_snapshot_label="backup"
|
|
|
|
# disable checkzfs with value > 0
|
|
checkzfs_disabled=0
|
|
|
|
# set checkzfs parameter "--prefix"
|
|
checkzfs_prefix=zsync
|
|
|
|
# set checkzfs maximum age of last snapshot in minutes (comma separated => warn,crit)
|
|
checkzfs_max_age=1500,6000
|
|
|
|
# set checkzfs maximum count of snapshots per dataset (comma separated => warn,crit)
|
|
checkzfs_max_snapshot_count=150,165
|
|
|
|
# set where to move the checkzfs output (0 = local machine, 1 = source machine)
|
|
checkzfs_spool=0
|
|
|
|
# set maxmimum age of checkzfs data in seconds (hourly = 3900, daily = 87000)
|
|
checkzfs_spool_maxage=87000
|