zsnapper/zsnapper.ini-sample

56 lines
1.2 KiB
Plaintext
Raw Normal View History

[settings]
# NOTE:
# --stdin is used to pass password to sudo, this does not work the first time
# a user uses sudo, so make sure to run a sudo command manually first
#
# or preferably, leave this commented out and use NOPASSWD for sudo...
;sudo=<password>
[tank]
# frequency of snapshots
snapshot_interval=1h
# Remote replication
# possible other value is 'latest' to only sync the last available snapshot
remote_enable=all
# NOTE:
# The command arguments must not contain whitespace characters, since
# split() is used to create an array to subprocess.Popen()
remote_zfs_cmd=/usr/bin/ssh ${remote_user}@${remote_host} /usr/bin/sudo /sbin/zfs
remote_test_cmd=/usr/bin/ssh ${remote_user}@${remote_host} echo "success"
remote_user=backup
remote_host=hem.winterbird.org
remote_zfs_target=tank/backup/asuna/tank
# These can be set to use custom arguments to zfs send and zfs receive
; remote_send_flags=-D -p
remote_send_flags=
remote_recv_flags=
keep_hourly=24
keep_daily=7
keep_weekly=4
keep_monthly=4
[tank/SWAP]
snapshot_interval=
remote_enable=
[tank/media]
snapshot_interval=15m
[tank/tmp]
snapshot_interval=
remote_enable=
[tank/var/log]
snapshot_interval=1m
keep_1min=5
keep_15min=4
[tank/var/tmp]
snapshot_interval=
remote_enable=