summaryrefslogtreecommitdiff
path: root/filesystems/zfs-periodic/pkg-message
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/zfs-periodic/pkg-message')
-rw-r--r--filesystems/zfs-periodic/pkg-message30
1 files changed, 30 insertions, 0 deletions
diff --git a/filesystems/zfs-periodic/pkg-message b/filesystems/zfs-periodic/pkg-message
new file mode 100644
index 000000000000..010d2e7d1ce1
--- /dev/null
+++ b/filesystems/zfs-periodic/pkg-message
@@ -0,0 +1,30 @@
+[
+{ type: install
+ message: <<EOM
+In order to enable periodic snapshots you need
+to add these lines to your /etc/periodic.conf
+
+hourly_output="root"
+hourly_show_success="NO"
+hourly_show_info="YES"
+hourly_show_badconfig="NO"
+hourly_zfs_snapshot_enable="YES"
+hourly_zfs_snapshot_pools="tank"
+hourly_zfs_snapshot_keep=6
+daily_zfs_snapshot_enable="YES"
+daily_zfs_snapshot_pools="tank"
+daily_zfs_snapshot_keep=7
+weekly_zfs_snapshot_enable="YES"
+weekly_zfs_snapshot_pools="tank"
+weekly_zfs_snapshot_keep=5
+monthly_zfs_snapshot_enable="YES"
+monthly_zfs_snapshot_pools="tank"
+monthly_zfs_snapshot_keep=2
+
+To get hourly snapshots you also need to add
+something like this to /etc/crontab:
+
+2 * * * * root periodic hourly
+EOM
+}
+]