zfs-backup/zfs-backup.cfg

15 lines
658 B
INI
Raw Normal View History

2015-10-14 13:12:49 +00:00
# required format:
# SOURCE TARGET KEEPDAYS ENABLED
# dataset [user@host:]dataset number Y or N
2015-10-14 14:24:19 +00:00
# we are securing this elsewhere; if we are using this method, we'll need to configure the target host
# 'user' needs an authorized and restricted public key for SSH access and sudoer rights on 'remotehost' to execute the following as root:
2015-10-14 13:12:49 +00:00
# /usr/sbin/zfs recv -Feuv datapool/backup, /usr/sbin/zfs destroy -r datapool/backup/*
data/home user@remotehost:datapool/backup 7 Y
2015-10-14 14:24:19 +00:00
# this goes to another pool on this host so no further configuration is necessary
2015-10-14 13:12:49 +00:00
data/config backup/data 5 Y
# we no longer back this up
data/volatile backup/data 2 N