[ale] tape backup of homenet

Dow Hurst dhurst at kennesaw.edu
Mon Sep 11 15:37:41 EDT 2000


Frank,
Try looking at using GNU tar combined with a large cheap disk for Samba
shares.  You can use the Samba share with your NT and Win boxes for
important data.  You normally wouldn't want to backup the whole file
system of a MS based system since if it is corrupted you will 99% of the
time just reload from scratch.  I may be wrong there!  The Linux/Unix
machines can be backed up via NFS using tar.  I use SGI tar for NFS
backup to a DDS3 drive across a 10Mbit network at KSU.  I actually run a
script that backups a mounted machines data directory as one tar file,
then move on to the next machine.  I have multiple tar files per tape. 
When verifying the data after the initial backup, I just repeat the
script punctuated with fast forwards and rewinds to each file.  You must
verify the data on any backup and tar works just fine for me.  I have
had to restore from tapes using this method and it is very reliable. 
Also, I rotate tapes in a 1 tape/week rotation using 4-5 tapes deep. 
Here is a edited sample script (Note the use of the tape no rewind
device versus rewind device):

BEGIN--------------------------
#!/bin/sh
#
#  Script for backing up network via NFS as dhurst or tapen
#  using Walker's tape drive and NFS mounts.
#
#  Backs up on one DDS3 tape in sequential separate TAR files:
#  Aslan,Erkki,Per,Linus,Marie,Stern,Woody
#
#  Dow Hurst 03-13-2000
#################################################
DATE=$1
if test -d /usr/local/backup/$DATE
   then
     echo '/usr/local/backup already exists'
     exit
   else
     mkdir /usr/local/backup/$DATE
fi
#
cd /
tar cvf /dev/rmt/tps1d4nrvc nfs.aslan            >
/usr/local/backup/$DATE/tarbackup.log 2>&1
tar cvf /dev/rmt/tps1d4nrvc nfs.stern_kbuehner  >>
/usr/local/backup/$DATE/tarbackup.log 2>&1
#
mt rewind
tar Cvvvf /dev/rmt/tps1d4vc nfs.aslan            >
/usr/local/backup/$DATE/tarverify.log 2>&1
mt -f /dev/rmt/tps1d4nrvc fsf 1
tar Cvvvf /dev/rmt/tps1d4vc nfs.stern_kbuehner  >>
/usr/local/backup/$DATE/tarverify.log 2>&1
END----------------------------------

Hope this helps,
Dow



-- 
__________________________________________________________
Dow Hurst                   Office: 770-499-3428
Systems Support Specialist  Fax:    770-423-6744
1000 Chastain Rd.
Chemistry Department SC428  Email:dhurst at kennesaw.edu
Kennesaw State University         Dow.Hurst at mindspring.com
Kennesaw, GA 30144
*********************************
*Computational Chemistry is fun!*
*********************************
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list