Item Subject: 1.txt "internet headers"
Could not convert BINARY FILE item to text.
Will attempt to 'shar' item as file '01s7ent' at end of msg.
.......................................................................
Item Subject: 7332-001 & db backups
Set an admin scheduled event to do a :
DELETE VOLHIST TOD=-7 T=DBB
this will just toss all volume history records associated with data
base backups older than today - 7 (actually above is TODATE=TODAY-7
but ya'all know me & key strokes)
I do a full db bkup daily via admin sched event and clear the old
tapes with another admin sched event (listed above) they go back to
scratch status and all is well ;-) Now we don't need to let upper
management know this but given a little time and a little elbow grease
these adsm environments can be set to run themselves and (with
non-related adsm software) page you if something starts to go south...
______________________________ Reply Separator _________________________________
Subject: 7332-001 & db backups
Author: ADSM-L (ADSM-L AT VM.MARIST DOT EDU) at unix,sh
Date: 2/5/97 11:01 PM
From: Wayne Gorton or wgorton AT vnet.ibm DOT com or clown AT ibm DOT net
" or AUIBMGOD at IBMMAIL
" Cumberland Forest. Aust Ph:(02) 354 7599 Fax:(02) 3547766
Subject: 7332-001 & db backups
Howdy all,
I have a problem that's got me stumped. The idea is to run a db full dbbackup
every day, but how do I scratch the previous db backups? The manual says to
move drm to the vault, & then check them backup in (excluding the requirement
for the drmdbbackupexpire & except the most recent db backup). This is not
something that lends itself easily to automation. Frankly it'd be a pain to
perform this everyday. Using the 12 stacker just delays the problem.
I'm looking for a sleeper of a solution.
Any ideas?
Stats AIX4.1.4, ADSM 2.1.5.9 7332-001 (4mm tape drive)
Bye
Wayne G Unix Sys Admin
" The Thinking Man's Clown
"Imagination is more important than knowledge" Albert Einstein
# This is a shell archive. Remove anything before this line,
# then unpack it by saving it in a file and typing "sh file".
#
# Wrapped by Openmail for HP9000 <openmail@tuleosm1> on Thu Feb 6 07:48:09 1997
#
# This archive contains:
# 01s7ent
#
# Error checking via wc(1) will be performed.
LANG=""; export LANG
PATH=/bin:/usr/bin:$PATH; export PATH
rm -f /tmp/uud$$
(echo "begin 666 /tmp/uud$$\n#;VL*n#6%@x\n \nend" | uudecode) >/dev/null 2>&1
if [ X"`cat /tmp/uud$$ 2>&1`" = Xok ]
then
unpacker=uudecode
else
echo Compiling unpacker for non-ascii files
pwd=`pwd`; cd /tmp
cat >unpack$$.c <<'EOF'
#include <stdio.h>
#define C (*p++ - ' ' & 077)
main()
{
int n;
char buf[128], *p, a,b;
scanf("begin %o ", &n);
gets(buf);
if (freopen(buf, "w", stdout) == NULL) {
perror(buf);
exit(1);
}
while (gets(p=buf) && (n=C)) {
while (n>0) {
a = C;
if (n-- > 0) putchar(a << 2 | (b=C) >> 4);
if (n-- > 0) putchar(b << 4 | (a=C) >> 2);
if (n-- > 0) putchar(a << 6 | C);
}
}
exit(0);
}
EOF
cc -o unpack$$ unpack$$.c
rm unpack$$.c
cd $pwd
unpacker=/tmp/unpack$$
fi
rm -f /tmp/uud$$
echo x - 01s7ent '[non-ascii]'
$unpacker <<'@eof'
begin 660 01s7ent
M4F5C96EV960Z(&9R;VT@8V]R<&UX,#$@*&-O<G!M># Q+G1D8RYA;6]C;RYCX
M;VTI(&)Y('1U;&5O<VTQ('=I=&@@4TU44 T*"2@Q+C,W+C$P.2XR,"\Q-BXRX
M*2!I9"!!03(S-S,Y-3<S-3L@5V5D+" U($9E8B Q.3DW(#(S.C X.C4U("TPX
M-C P#0I296-E:79E9#H@9G)O;2!I;G1E<FQO8VLN86UO8V\N8V]M("AP;W)TX
M86PI(&)Y(&-O<G!M># Q("@U+C O4TU)+30N,"D-"@EI9"!!03$V-S<V.R!7X
M960L(#4@1F5B(#$Y.3<@,C,Z,#$Z-3@@*S V,# -"E)E8V5I=F5D.B!F<F]MX
M('9M+FUA<FES="YE9'4@8GD@<&]R=&%L+F%M;V-O+F-O;2!W:71H(%--5% @X
M:60@04$P,#DP-PT*(" H26YT97),;V-K(%--5% @1V%T97=A>2 S+C @9F]RX
M(#QD96-O;VM 04U/0T\N0T]-/BD[#0H@(%=E9"P@-2!&96(@,3DY-R R,SHPX
M.3HQ-" M,#8P, T*4F5C96EV960Z(&9R;VT@5DTN34%225-4+D5$52!B>2!6X
M32Y-05))4U0N1415("A)0DT@5DT@4TU44"!6,E(S*0T*(" @=VET:"!"4TU4X
M4"!I9" Q-#0R.R!4:'4L(# V($9E8B Y-R P,#HP,SHU,2!%4U0-"E)E8V5IX
M=F5D.B!F<F]M(%9-+DU!4DE35"Y%1%4@*$Y*12!O<FEG:6X@3$E35%-%4E9 X
M34%225-4*2!B>2!632Y-05))4U0N1415("A,36%I;"!6,2XR8B\Q+CAB*2!WX
M:71H($)33510(&ED(#DT.38[(%1H=2P@-B!&96(@,3DY-R P,#HP,3HU,2 MX
M,#4P, T*4F5C96EV960Z(&9R;VT@5DTN34%225-4+D5$52!B>2!632Y-05))X
M4U0N1415("A,25-44T525B!R96QE87-E(#$N.&,I('=I=&@@3DI%#0H@(" @X
M(" @(" @:60@-C<X-R!F;W(@041332U,0%9-+DU!4DE35"Y%1%4[(%1H=2P@X
M-B!&96(@,3DY-R P,#HP,3HT-R M,#4P, T*4F5C96EV960Z(&9R;VT@34%2X
M25-4("A.2D4@;W)I9VEN(%--5%! 34%225-4*2!B>2!632Y-05))4U0N1415X
M("A,36%I; T*(" @(" @(" @(%8Q+C)B+S$N.&(I('=I=&@@0E--5% @:60@X
M.3,R,3L@5&AU+" V($9E8B Q.3DW(# P.C P.C S("TP-3 P#0I296-E:79EX
M9#H@9G)O;2!63D54+DE"32Y#3TT@8GD@5DTN34%225-4+D5$52 H24)-(%9-X
M(%--5% @5C)2,RD@=VET:"!40U [(%=E9"P-"B @(" @(" @(" P-2!&96(@X
M.3<@,C,Z-3DZ-3<@15-4#0I296-E:79E9#H@9G)O;2!)4U-#0553+E9.150NX
M24)-+D-/32!B>2!63D54+DE"32Y#3TT@*$E"32!632!33510(%8R4C,I('=IX
M=&@-"B @(" @(" @("!"4TU44"!I9" Q-3<U.R!4:'4L(# V($9E8B Y-R PX
M,#HP,3HT-2!%4U0-"DUE<W-A9V4M260Z(" \041332U,)3DW,#(P-C P,#$TX
M-S(T0%9-+DU!4DE35"Y%1%4^#0I$871E.B @(" @(" @(%1H=2P@-B!&96(@X
M,3DY-R P,#HP,3HT-2!%4U0-"E)E<&QY+51O.B B041333H@1&ES="!3=&]RX
M($UA;F%G97(B(#Q!1%--+4Q 5DTN34%225-4+D5$53X-"E-E;F1E<CH@(D%$X
M4TTZ($1I<W0@4W1O<B!-86YA9V5R(B \041332U,0%9-+DU!4DE35"Y%1%4^X
M#0I&<F]M.B!787EN92!';W)T;VX@/'=G;W)T;VY 5DY%5"Y)0DTN0T]-/@T*X
M4W5B:F5C=#H@(" @(" W,S,R+3 P,2 F(&1B(&)A8VMU<',-"D-O;6UE;G1SX
M.B!4;SH@04133253641633% 5DY%5"Y)0DTN0T]-+"!335104U= 5DY%5"Y)X
M0DTN0T]-#0I4;SH@041332U,0%9-+DU!4DE35"Y%1%4-"D-O;G1E;G0M3&5NX
*9W1H.B Y-# -"CH@ X
X
end
@eof
set `wc -lwc <01s7ent`
if test $1$2$3 != 272061630
then
echo ERROR: wc results of 01s7ent are $* should be 27 206 1630
fi
chmod 660 01s7ent
rm -f /tmp/unpack$$
exit 0
|