ports/186442: [patch] sysutils/zfs-periodic Update of pkg-message
Peter Ankerstål
peter at pean.org
Tue Feb 4 08:50:02 UTC 2014
>Number: 186442
>Category: ports
>Synopsis: [patch] sysutils/zfs-periodic Update of pkg-message
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 04 08:50:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Peter Ankerstål
>Release: FreeBSD 10
>Organization:
>Environment:
>Description:
Changed formatting of the pkg-message and added note that you need to run periodic hourly to get hourly snapshots.
>How-To-Repeat:
>Fix:
Index: pkg-message
===================================================================
--- pkg-message (revision 342482)
+++ pkg-message (working copy)
@@ -1,22 +1,25 @@
-
- In order to enable periodic snapshots you need
- to add these lines to your /etc/periodic.conf
+
+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_scrub_enable="YES"
- monthly_zfs_scrub_pools="tank"
- monthly_zfs_snapshot_pools="tank"
- monthly_zfs_snapshot_keep=2
+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
+somehting like this to /etc/crontab:
+
+2 * * * * root periodic hourly
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list