#!/bin/ksh -p # # This script will create a flash archive of the system disk that can be used # to restore the system onto a new disk # ########################################################################## # # Variables: # Flash archive name FLASH_ARCHIVE=nas1.flar # Path to store archive in FLASH_PATH=/ZFSDATA1/PC-IMAGES/nas1 flar create -n $FLASH_ARCHIVE -c $FLASH_PATH/$FLASH_ARCHIVE exit # Add to crontab 1 0 15 * * /ZFSDATA1/LOGS/create_image.ksh