blob: b210277014d07319fd517c35ba94a7c742724b74 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
[
{ type: install
message: <<EOM
Messages from filesystems/zrepl:
SETUP BEFORE FIRST USE:
- Create the log file /var/log/zrepl.log:
# service newsyslog restart
- Teach syslogd to redirect facility local0 to the zrepl.log file:
# service syslogd reload
- Modify the %%PREFIX%%/etc/zrepl/zrepl.yml configuration file
- For remote backups, create the SSH key pair and authorized_keys file
- Enable the zrepl daemon to start automatically at boot:
# sysrc zrepl_enable="YES"
- Start the zrepl daemon:
# service zrepl start
Documentation: https://zrepl.github.io/
Changelog: https://zrepl.github.io/master/changelog.html
DANGER - SNAPSHOT PRUNING REQUIRES EXPLICIT KEEP RULES:
For any ZFS snapshot that you want to keep, at least one rule must match.
This also applies to snapshots taken by means other than zrepl
(e.g. snapshots taken manually or via boot environment tools).
In order to automatically warn the operator of impending certificate
expiration, add this line to /etc/periodic.conf:
weekly_zrepl_enable="YES"
More config details in the zrepl periodic script:
%%LOCALBASE%%/etc/periodic/weekly/500.zrepl
EOM
}
]
|