- $autosnap tank/var /var $numsnapshots $maxagedays
- $autosnap tank/usr/local/var /usr/local/var $numsnapshots $maxagedays
+ echo "Performing Daily snapshots" >> $logfile
+fi
+
+# Weekly filesystems (only perform these on Sunday at midnight)
+if [ `date +"%H:%M:%u"` == "00:00:7" ]; then
+ echo "Performing Weekly snapshots" >> $logfile
+ $autosnap tank/var /var $numsnapshots 60
+ $autosnap tank/usr/local/var /usr/local/var $numsnapshots 60