diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-02-12 07:30:15 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-02-12 07:30:15 +0000 |
commit | 0df13d9398d33a5949065761c29736bfd607ea4b (patch) | |
tree | e7ecabecec5e68efb95092b12b0ab5d859b304c8 /sysutils | |
parent | 4bbf0e8714b6ae3215c08eacc01ba911ad232615 (diff) | |
download | ports-0df13d9398d33a5949065761c29736bfd607ea4b.tar.gz ports-0df13d9398d33a5949065761c29736bfd607ea4b.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/zfs-periodic/pkg-message | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/sysutils/zfs-periodic/pkg-message b/sysutils/zfs-periodic/pkg-message index 84a419fffd2d..fb76bd52d1e0 100644 --- a/sysutils/zfs-periodic/pkg-message +++ b/sysutils/zfs-periodic/pkg-message @@ -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 |