Date: Tue, 4 Feb 2014 08:41:18 GMT From: Peter Ankerstål <peter@pean.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/186442: [patch] sysutils/zfs-periodic Update of pkg-message Message-ID: <201402040841.s148fIF6045563@oldred.freebsd.org> Resent-Message-ID: <201402040850.s148o13D059210@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402040841.s148fIF6045563>