From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079091516404.tru64-unix-managers.marc@archive.invalid> From: Edie Miller Date: Thu, 16 Dec 1999 08:57:41 +0000 To: tru64-unix-managers Subject: Unix 5.0 backup script, info-datatel@datatel.com X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079091516404 Hi, Recently I upgraded my unix from 4.0d to 5.0 and my backup scrip is not working. Would you please take a look at it and tell my why nothing is getting written to the tape? When I do a restore -t I get the message Tape block size (512) is not a multiple of dump block size (1024). The scrip follows: #/raid/ron/scripts/logdisab > /temp.file more /usr/local/dec/disable.login.msg > /temp.file /usr/local/dec/disable.login /sbin/sync /sbin/umount /raid #/sbin/fsck -p /dev/re0a >> /temp.file #/sbin/fsck -p /dev/re0g >> /temp.file #/sbin/fsck -p -o /dev/re1g >> /temp.file /sbin/fsck -p -o /dev/disk/dsk1g >> /temp.file /sbin/mount /raid echo -n "check.disc script finished at : " >> /temp.file date >> /temp.file echo " ****" >> /temp.file /usr/ud33/bin/stopud >> /temp.file /sbin/who >> /temp.file cd / /sbin/sync /sbin/umount /raid # /sbin/mt -f /dev/rmt0h rewind /sbin/mt rewind # /sbin/dump 0udsf 61000 153172 /dev/nrmt0h /raid #/sbin/dump 0uds 61000 153172 /raid /sbin/dump 0uf - /raid | compress | dd of=/dev/tape/tape0c # /sbin/mt -f /dev/rmt0h rewind /sbin/mt rewind /sbin/mount /raid # /sbin/restore -tf /dev/nrmt0h > /raid/edmiller/raid.restore /sbin/restore -t > /raid/edmiller/raid.restore # /sbin/mt -f /dev/rmt0h rewind /sbin/mt rewind /sbin/echo " ****" >> /temp.file /sbin/ls -l /raid/edmiller/raid.restore >> /temp.file /usr/ucb/wc -l /raid/edmiller/raid.restore >> /temp.file /usr/bin/echo " ****" >> /temp.file /sbin/cat /temp.file /usr/users/edmiller/cs.logins | /usr/bin/mail edmiller /sbin/shutdown -r now The commented lines were from version 4.0d. ALSO, if any of you are UNIDATA users, when I do SETTAPE 0 /dev/ntape/tape0_d0 /raid/LIVE/COLLIVE/_HOLD_ 4096 command to change the direction to the HOLD queue, I get the message: Open tapeinfo error. Thanks! Edie Miller Manager Administrative Computer Systems Laramie County Community College 1400 E. College Drive Cheyenne, WY 82007 (307) 778-1324