tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Unix 5.0 backup script, info-datatel@datatel.com
@ 1999-12-16  8:57 Edie Miller
  0 siblings, 0 replies; only message in thread
From: Edie Miller @ 1999-12-16  8:57 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-12-16  8:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-16  8:57 Unix 5.0 backup script, info-datatel@datatel.com Edie Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox