BSD Ports

filesystems/zfs-periodic 1.0.20130213 DragonFly

Simple way of maintaining zfs snapshots using the periodic system

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
filesystems, sysutils
Package size
2.3 KiB, 5.3 KiB installed

Description

Scripts that uses the periodic system to create and manage zfs snapshots. Easily configured via /etc/periodic.conf

In the other systems

The newest version among them is 1.0.20130213, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyfilesystems/zfs-periodic1.0.20130213 newestnone known-[email protected]-
FreeBSDfilesystems/zfs-periodic1.0.20130213 newestnone known-[email protected]-
MidnightBSDfilesystems/zfs-periodic1.0.20130213_1 newestno data-[email protected]-
HardenedBSDfilesystems/zfs-periodic1.0.20130213 newestno data-[email protected]-
GhostBSDfilesystems/zfs-periodic1.0.20130213 newestno data-[email protected]-

Install

Binary package:

pkg install zfs-periodic

From DPorts:

cd /usr/dports/filesystems/zfs-periodic && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

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