[svlug] tape backups
alvin at planet.fef.com
Tue Aug 11 14:57:01 PDT 1998
hi ya Arthur...
> I need to add a tape backup solution to my linux server.
> Cost is a factor. Does anyone have a simple solution ?
I use expensive exabyte tape drives ( $600+ ) or 4mm drives
( $600+ ?? ) or cheap travan tape drives ( $150?? )
theres some $50 drives too like the parallel port tape drives
..but....who knows if it works under linux....
how about using "disk" for backups ??? tapes takes a few
hours to find the data...after it's been archived...
if you want to be able to pull data off the "backup"....
I'd use a disk.... and only need it for monthly "tape archive"..
if you don't plan on pulling data off the tape archive
than get the biggest tape drive & media you want to spend...
if you want to get data off the tape...use a disk...
- or -
get a 8Gb IDE disk drive ( about $200 ) and than run a cron backup job
or if you have some spare disk space or disk partitions...
( if you have disk space.....this daily backup costs you $100,000,000.oo :-)
and some psuedo perl code for daily incremental backups
my ( $date ) = `date`;
my ( $dow, $Mon, $xdate, $time ) = split ( /\s+/, $date );
$Date = sprintf ( "%02d", $xdate );
`mkdir -d /Backup.disk/$Mon` if ( ! -d "/Backup.disk/$Mon" );
`find /home /etc /usr/local -mtime -1 -print | tar zcvf /Backup.disk/$Mon/$Date.tgz -T - > /tmp/backup.log`;
`elm -s "backup done for $Mon $Date" you < /tmp/backup.log`;
--- yup..I kinda like using `for running commands`.. instead of open/print/close
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe
More information about the svlug