From owner-svn-ports-head@FreeBSD.ORG Wed Feb 12 07:30:16 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F05D27F; Wed, 12 Feb 2014 07:30:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5B7F10F1; Wed, 12 Feb 2014 07:30:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1C7UFlR058429; Wed, 12 Feb 2014 07:30:15 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1C7UFYT058428; Wed, 12 Feb 2014 07:30:15 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201402120730.s1C7UFYT058428@svn.freebsd.org> From: Ruslan Makhmatkhanov Date: Wed, 12 Feb 2014 07:30:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343866 - head/sysutils/zfs-periodic X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2014 07:30:16 -0000 Author: rm Date: Wed Feb 12 07:30:15 2014 New Revision: 343866 URL: http://svnweb.freebsd.org/changeset/ports/343866 QAT: https://qat.redports.org/buildarchive/r343866/ Log: - reformat and update pkg-message PR: 186442 Submitted by: Peter Ankerstal (maintainer) Modified: head/sysutils/zfs-periodic/pkg-message Modified: head/sysutils/zfs-periodic/pkg-message ============================================================================== --- head/sysutils/zfs-periodic/pkg-message Wed Feb 12 07:17:00 2014 (r343865) +++ head/sysutils/zfs-periodic/pkg-message Wed Feb 12 07:30:15 2014 (r343866) @@ -1,22 +1,25 @@ - - 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 +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