From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621199.tru64-unix-managers.marc@archive.invalid> From: "H. Blakely Williford" Date: Wed, 05 Jun 1996 09:46:00 +0000 To: tru64-unix-managers Subject: Backing up / and /usr X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621199 I created a procedure to back up our / and /usr file systems. The problem is that when the backup runs all these Permission denied messages come up. The errors only come up when backing up the /usr fs. The name of the script is fbsysd38. and these are the premissions. -rwsr-sr-x 1 root system 547 Jun 4 11:05 fbsysd38 The System Administration book said that you must have superuser privileges to use the dump command. I did a ... > chown root fbsysd38 > chgrp system fbsysd38 > chmod 6755 fbsysd38 is root, system not the group and user-id for the superuser? This is the listing for fbsysd38, it is ran from the ksh. # fbsysd38 # create a full back up of / (system pack) FS to rmt0 # to change to rmt1 change command to /sbin/vdump -0uNT1 / # hbw 22-May-1996 # stime="`date +"%T"`" LFSX="`date +"%d-%b-%Y-%T"`" echo "fbsysd38: log file is fbsysd38."$LFSX # # first back up the root file system -- and DO NOT rewind the tape. /sbin/vdump -0uN -f /dev/rmt0h / 2> fbsysd38.$LFSX # # now do /usr and rewind the tape. /sbin/vdump -0u -f /dev/rmt0h /usr 2> fbsysd38.$LFSX # # echo "fbsysd38: start time " $stime echo "fbsysd38: finish time " `date +"%T"` +--------------------------+------------------------------------------------+ |H. Blakely Williford | Men never do evil so completely and cheerfully | |Systems Administrator | as when they do it from religious conviction. | |The Fuller Brush Company | - Pascal | +--------------------------+------------------------------------------------+