Cover V03, I02
Article
Listing 1
Listing 2
Listing 3
Listing 4
Sidebar 1

mar94.tar


Listing 3: qbback

#!/bin/ksh
# qbback.. backups up selected filesystems
# 1st parm-goes into identifier for output
#    filenames in backups subdirectory
# 2nd-5th parms - various paths to be backed up.
cd /
rmtx=rmt0
chdev -l $rmtx -a block_size=1024 >/dev/null
fn=`/bin2/dayofwk`$1
/bin/tar -cvf/dev/$rmt0 $2 $3 $4 $5
2>/home/qbridge/backups/$fn.err
>/home/qbridge/backups/$fn.listing
/bin/chown qbridge.qbridge /home/qbridge/backups/*
/bin/tctl -f/dev/$rmt0 rewoffl