tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "H. Blakely Williford" <blakew () mlm ! fuller ! com>
To: tru64-unix-managers
Subject: Backing up / and /usr
Date: Wed, 05 Jun 1996 09:46:00 +0000	[thread overview]
Message-ID: <96076333621199.tru64-unix-managers.marc@archive.invalid> (raw)

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                                 |
+--------------------------+------------------------------------------------+

                 reply	other threads:[~1996-06-05  9:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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