I have a Samba share on a software RAID 1 array (using gmirror) that I need to backup. I want to create a shell script that does a level 0 backup every time to (alternately) one of two USB drives. I plan to have only ONE USB drive connected at a time.
I want the script to mount the drive, perform the backup, then unmount the drive so that it is ready for someone who knows zip about computers to safely remove and take offsite. Here are the steps I have for the script. Is this all I need to do? Do I need any error handling logic? THANKS! # Mount the backup drive: mount /dev/usb0 # Create the backup: /sbin/dump -0u -f /dev/usb0 /sambavol # Unmount the backup drive: umount /dev/usb0 ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"