X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=zfs-autosnap-all.example;fp=zfs-autosnap-all.example;h=0000000000000000000000000000000000000000;hb=8745c98ce0deffd90e2227d8019c4de3ef5ac7af;hp=58929766541fb40b569f213d165e321dc3b9d209;hpb=cf5e9c6fa15fb2c337c5d74ef6bd92092cb2e709;p=zfs-nexenta%2F.git diff --git a/zfs-autosnap-all.example b/zfs-autosnap-all.example deleted file mode 100755 index 5892976..0000000 --- a/zfs-autosnap-all.example +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -# Author: Alan J. Pippin -# Description: This script is a wrapper script that calls zfs-autosnap -# for each filesystem provided below. - -# Setup some default values -autosnap="/usr/local/etc/bin/zfs-autosnap" -logfile="/var/log/zfs-autosnap.log" -numsnapshots=20 -maxagedays=365 - -# Auto snapshot every zfs filesystem on the system specified below -date >> $logfile - -# Special filesystems -$autosnap storage /storage $numsnapshots 15 -$autosnap tank/usr/videos /usr/videos $numsnapshots 15 - -# Normal filesystems -$autosnap tank / $numsnapshots $maxagedays -$autosnap tank/backup /backup $numsnapshots $maxagedays -$autosnap tank/usr /usr $numsnapshots $maxagedays -$autosnap tank/usr/home /usr/home $numsnapshots $maxagedays -$autosnap tank/usr/local /usr/local $numsnapshots $maxagedays -$autosnap tank/usr/local/etc /usr/local/etc $numsnapshots $maxagedays -