Tags: mk01/zfs-auto-snapshot
Tags
Fix pool exclusions. Use $ZPOOL_STATUS instead of $ZFS_STATUS for pool exclusions. A mistaken variable name made the pool exclusion logic a no-op and broke the --skip-scrub switch. Also correct a trivial comment typo.
Merge pull request #2 from ulope/master Fixed --prefix and --sep regexes
Fix the hourly-daily transposition in the Makefile. The hourly cron job was installed to cron.daily, and the daily cron job was installed to cron.hourly, which caused incorrect scheduling.
Split the cron file for anacron compatibilty. Split the cron file so that the hourly, daily, weekly, and monthly zfs automatic snapshots still happen even if the system is offline temporarily during the scheduled event, such as during a reboot. On Debian systems, if anacron is installed, then it is used to run the /etc/cron.{hourly,daily,weekly,monthly} directories, but not the /etc/cron.d directory. This means that /etc/cron.d jobs are not run if the system is offline when crond would usually invoke them.
Implement the --event option for :auto-snap-desc. Set the com.sun:auto-snap-desc property on each snapshot to an arbitrary value. On Solaris, this property is set to the dash character by default -- which is convention for NULL -- but it can contain an FMRI status comment or other user data.
PreviousNext