* Backing up / and /usr
@ 1996-06-05 9:46 H. Blakely Williford
0 siblings, 0 replies; only message in thread
From: H. Blakely Williford @ 1996-06-05 9:46 UTC (permalink / raw)
To: tru64-unix-managers
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 |
+--------------------------+------------------------------------------------+
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-06-05 9:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-05 9:46 Backing up / and /usr H. Blakely Williford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox