Hi everyone.
I have been designated an SA at work but have never had any training
and do not know all that much about unix. With that said, let ask my
quiestion. I have been ask to write a backup script to be run manually
by other SA's (not by cron since other DB backups are being run at
those times). I need to backup certain file systems on different Comm,
Data servers, and the NIS master. My script should accommodate all
systems and do either a full or partial backup.
Well, I've figured most of this out but am having difficulty figuring
out the best way to determine which device driver is on that system.
The servers have a default cartridge tape but some have 8mm tape drives
attached. And the NIS masters will just be backed up to the server
temporily. I can't figure out how I can tell which device drive name
to use (/dev/rmt/?) How can I tell since all the systems have
different configurations? is there a simple way or will each SA need
to enter their own device name? And if so what would be the best way
to allow for block size/tape length?
I used cpio for this script but was wondering if that's the best way to
go for a backup?
Any suggestions will be welcomed and thanx in advance.
I know that was a mouth full but I need help bad. Sorry!
Please send response to my e-mail address.
Gary Robledo