Hello, I have installed the automatic snapshot utility from /usr/ports/sysutils/zfs-snapshot-mgmt. This utility uses the zfs-snapshot-mgmt.conf file as its configuration and here are the contents of mine:
When I run /usr/local/bin/zfs-snapshot-mgmt from cron nothing happens, no snapshots are created. When I manually run it no error message is reported but no snapshot is ceated either.
Any help is appreciated.
Code:
# Automatic ZFS snapshot management configuration file
#
# This is a YAML file (see http://www.yaml.org)
# Use exactly 2 spaces for each indentation level
#
snapshot_prefix: auto-
filesystems:
tank/data/user:
# Create snapshots every 24 hours, starting at 20:00.
creation_rule:
at_multiple: 1440
offset: 1300
# Keep daily snapshots created at 20:00 (in this case all).
preservation_rules:
- { for_minutes: 20160, at_multiple: 1440, offset: 1200 }
When I run /usr/local/bin/zfs-snapshot-mgmt from cron nothing happens, no snapshots are created. When I manually run it no error message is reported but no snapshot is ceated either.
Any help is appreciated.