From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,8f7cb2cae9c23739 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-10-08 20:21:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Jack Patteeuw Newsgroups: comp.unix.tru64 Subject: Re: system backup Date: Mon, 08 Oct 2001 23:20:46 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3BC26D0E.DCBFB393@peoplepc.com> X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 References: <3bc203ca$0$1566$626a54ce@news.free.fr> <7xpw7.41179$GT3.5222823@news2-win.server.ntlworld.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:5166 Adam Price wrote: > I assume no LSM because I'm lazy... Lazy is good !!! This why I always use AdvFS. > Create copies of each disklabel on the root filesystem and on paper that you > keep with backup media. Great advice to make a paper copy and keep it with your vdump tape. Here is the procedure I use to make my "disaster recovery" info. Minor changes required for V5.x =============================< cut here >========================================= #! /usr/bin/ksh export CMD_ENV=xpg4 echo SCSI information for `hostname` > /SCSI_info echo "" >> /SCSI_info date >> /SCSI_info echo "" >> /SCSI_info # # show what is currently mount using df # df -k -F ufs,advfs >> /SCSI_info echo "" >> /SCSI_info echo "================================================================================" >> /SCSI_info echo "" >> /SCSI_info # # list /etc/fstab # cat /etc/fstab >> /SCSI_info echo "" >> /SCSI_info echo "================================================================================" >> /SCSI_info echo "" >> /SCSI_info # # show how the file domains are hooked up # ls -ld /etc/fdmns/*/* | cut -b55- | sort >> /SCSI_info echo "" >> /SCSI_info echo "================================================================================" >> /SCSI_info echo "" >> /SCSI_info # # list the tape drives # file /dev/nrmt*h >> /SCSI_info echo "" >> /SCSI_info # # list the disk drives # file /dev/rrz?c /dev/rrz??c /dev/rrz???c >> /SCSI_info echo "" >> /SCSI_info echo "================================================================================" >> /SCSI_info echo "" >> /SCSI_info # # show the label on each disk # for I in `echo /dev/rrz?c /dev/rrz??c /dev/rrz???c`; do file $I | grep -q 'SCSI' if [ "$?" = "0" ] ; then file $I | egrep -q 'RRD|ROM' if [ "$?" = "1" ] then /sbin/disklabel -r $I >> /SCSI_info; echo "" >> /SCSI_info; echo "================================================================================" >> /SCSI_info echo "" >> /SCSI_info; fi fi done =============================< cut here >========================================= Don't forget to print /SCSI_info and keep it with your vdump tape !! -- Jack Patteeuw