summaryrefslogtreecommitdiff
path: root/sysutils/freebsd-snapshot/files/pkg-message.in
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2019-08-14 12:16:12 +0000
committerMathieu Arnold <mat@FreeBSD.org>2019-08-14 12:16:12 +0000
commitbc89cd3d2cf8f4e777f70bdaf1a643f550fa6e38 (patch)
treed93b56c802078ea422367abc82bd53ab1780d10b /sysutils/freebsd-snapshot/files/pkg-message.in
parentd2f3167e02df98ddbed29cbbc2c5ada42eb80e27 (diff)
downloadfreebsd-ports-bc89cd3d2cf8f4e777f70bdaf1a643f550fa6e38.zip
Convert to UCL & cleanup pkg-message (categories s)
Diffstat (limited to 'sysutils/freebsd-snapshot/files/pkg-message.in')
-rw-r--r--sysutils/freebsd-snapshot/files/pkg-message.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/sysutils/freebsd-snapshot/files/pkg-message.in b/sysutils/freebsd-snapshot/files/pkg-message.in
index 73e95f3a4732..a98d6b65f5ad 100644
--- a/sysutils/freebsd-snapshot/files/pkg-message.in
+++ b/sysutils/freebsd-snapshot/files/pkg-message.in
@@ -1,6 +1,8 @@
-
+[
+{ type: install
+ message: <<EOM
Using periodic for flexible snapshot backup creation
-----------------------------------------------------
+
Edit your crontab and include this:
@@ -15,13 +17,16 @@ and edit your periodic.conf and include this:
snapshot_enable="YES"
snapshot_schedule="/,/usr:2:1:0 /var:0:2:4 /home:2:6:8@8,12,16,20"
-----
+
Using auto-mount for easy access to snapshot data
---------------------------------------------------
+
Edit your rc.conf and include this:
# UFS2/ZFS Snapshot Access
amd_enable="YES"
amd_flags="-a /.am -c 1800 -w 60 -l syslog /snap %%PREFIX%%/etc/amd.map.snap"
+EOM
+}
+]