cwr@pnet01.cts.com (Will Rose) (03/31/91)
I use ast's backup program to backup my hard disk onto floppies; I've never yet needed a full restore, but quite often I edit a source file to death and need to go back to the original version. While backup can maintain the original date and time in the backup file, when the file is either copied back or uncompressed the new file is set to the current time. Often, I'd prefer the restored version to be the same as the original in all respects. I've used a variety of kludges to get around this (there's probably an incredibly subtle and elegant way to do it, but I haven't found it); finally I added "restore" (-r) code to backup. The option was there - it just had no code attached. All restore does is invert the sense of the -z flag; if a file is compressed, it will be uncompressed. That is, my usual restore command is "restore -tvz /usr/there /usr/here", which copies and uncompresses any missing files in "here" from "there". You can either use backup -r, or link backup to restore. Note that the -j option takes precedence over -z; so if you restore with -jz, compressed files will not be restored. The following cdiff is against version PC 1.5.10. Good luck - Will ================================================================ table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 backup.cdif M,3EA,C */B @*@DM<B @4F5S=&]R92!F:6QE;F%M97,@*&EE+B!U;F-O;7!Rz M97-S(&EF(&YE8V5S<V%R>2D*,C1A,C8L,C<*/B @*B!0871C:&5S.@H^(" Jy M"3,P($UA<B Y,2X@($%D9&5D(')E<W1O<F4@;W!T:6]N+B @8W=R+B *-3ECx M-C(*/" *+2TM"CX@8VAA<B J<&YA;64["C<S83<W"CX@("!P;F%M92 ](&%Rw M9W9;,%T["CDW83$P,@H^(" @:68@*"%S=')C;7 H<&YA;64L(")R97-T;W)Ev M(BD@)B8@(7)F;&%G*2!R9FQA9RLK.PHR-38L,C4X8S(V,2PR-C8*/" )"6EFu M("AS<"T^;F%M97!;;F%M;&5N("T@,ET@(3T@)RXG('Q\('-P+3YN86UE<%MNt M86UL96X@+2 Q72 A/2 G6B<I"CP@"0D):68@*'IF;&%G("8F("AN86UL96X@s M/#T@*$Y!345?4TE:12 M(#(I*2D*/" )"0D)<W1R;F-A="AC8G5F+" B+EHBr M+" R*3L*+2TM"CX@"0DO*B!3=VET8V@@8F5T=V5E;B!C;VUP<F5S<V5D(&%Nq M9"!U;F-O;7!R97-S960@9FEL92!N86UE<R J+PH^( D):68@*'IF;&%G("8Fp M("%R9FQA9R F)B!S=')N8VUP*"AS<"T^;F%M97 @*R!N86UL96X@+2 R*2P@o M(BY:(BP@,BD*/B )"0D))B8@*&YA;6QE;B \/2 H3D%-15]325I%("T@,BDIn M*0H^( D)"7-T<FYC870H8V)U9BP@(BY:(BP@,BD["CX@"0EI9B H>F9L86<@m M)B8@<F9L86<@)B8@(7-T<FYC;7 H*'-P+3YN86UE<" K(&YA;6QE;B M(#(Il M+" B+EHB+" R*2D*/B )"0EC8G5F6W-T<FQE;BAC8G5F*2 M(#)=(#T@)UPPk M)SL*,S$R8S,R,"PS,C8*/" @(&-H87(@8V)U9C%;34%87U!!5$A=+" J<#L*j M+2TM"CX@("!C:&%R(&-B=68Q6TU!6%]0051(72P@*G L(&US9ULR,%T["CX@i M"CX@(" O*B!4:&4@;65S<V%G92!C:&%N9V5S('=I=&@@=&AE('!R;V=R86T@h M;F%M92 J+PH^(" @:68@*"%S=')C;7 H<&YA;64L(")R97-T;W)E(BDI"CX@g M"7-T<F-P>2AM<V<L(")297-T;W)E9"(I.PH^(" @96QS90H^( ES=')C<'DHf M;7-G+" B0F%C:V5D('5P(BD["C,U,RPS-31C,S8W+#,V.0H\(" @:68@*'-Pe M+3YN86UE<%MN86UL96X@+2 R72 A/2 G+B<@?'P@<W M/FYA;65P6VYA;6QEd M;B M(#%=("$]("=:)RD*/" ):68@*'IF;&%G("8F("AN86UL96X@/#T@*$Y!c M345?4TE:12 M(#(I*2D@>PHM+2T*/B @(&EF("@A<F9L86<@)B8@<W1R;F-Mb M<"@H<W M/FYA;65P("L@;F%M;&5N("T@,BDL("(N6B(L(#(I('Q\"CX@"0ERa M9FQA9R F)B A<W1R;F-M<"@H<W M/FYA;65P("L@;F%M;&5N("T@,BDL("(Nz M6B(L(#(I*0H^( EI9B H>F9L86<@)B8@*')F;&%G('Q\("AN86UL96X@/#T@y M*$Y!345?4TE:12 M(#(I*2DI('L*,S8Q8S,W-@H\( D):68@*'9F;&%G("8Fx M(')E<R ]/2 P*2!P<FEN=&8H(D)A8VMI;F<@=7 @)7-<;B(L(&-B=68Q*3L*w M+2TM"CX@"0EI9B H=F9L86<@)B8@<F5S(#T](# I('!R:6YT9B@B)7,@)7-<v M;B(L(&US9RP@8V)U9C$I.PHS.#=C-# R"CP@"6EF("AV9FQA9RD@<')I;G1Fu M*")"86-K:6YG('5P("5S7&XB+"!C8G5F,2D["BTM+0H^( EI9B H=F9L86<It M('!R:6YT9B@B)7,@)7-<;B(L(&US9RP@8V)U9C$I.PHT,#)A-#$X+#0R- H^s M(" @8VAA<B!F8G5F6S(P73L*/B */B @('-T<F-P>2AF8G5F+" B+6,B*3L*r M/B @(&EF("AR9FQA9RD*/B )<W1R8V%T*&9B=68L(")D(BD["CX@("!E;'-Eq M"CX@"7-T<F-A="AF8G5F+" B9B(I.PHT,38L-#$W8S0S."PT,SD*/" )97AEp M8VQE*"(O8FEN+V-O;7!R97-S(BP@(F-O;7!R97-S(BP@(BUF8R(L('-R8RP@o M*&-H87(@*BD@,"P@96YV:7)O;BD["CP@"65X96-L92@B+W5S<B]B:6XO8V]Mn M<')E<W,B+" B8V]M<')E<W,B+" B+69C(BP@<W)C+" H8VAA<B J*3 L96YVm M:7)O;BD["BTM+0H^( EE>&5C;&4H(B]B:6XO8V]M<')E<W,B+" B8V]M<')El M<W,B+"!F8G5F+"!S<F,L("AC:&%R("HI,"P@96YV:7)O;BD["CX@"65X96-Lk M92@B+W5S<B]B:6XO8V]M<')E<W,B+" B8V]M<')E<W,B+"!F8G5F+"!S<F,Lj M("AC:&%R("HI,"P@96YV:7)O;BD["C0S-2PT,S=C-#4W+#0V,0H\(" @<W1Ri M8W!Y*&9B=68L("(M<B(I.PH\(" @:68@*&IF;&%G*2!S=')C870H9F)U9BP@h M(FHB*3L*/" @(&EF("AM9FQA9RD@<W1R8V%T*&9B=68L(")M(BD["BTM+0H^g M(" @:68@*&IF;&%G('Q\(&UF;&%G('Q\(')F;&%G('Q\('-F;&%G('Q\('1Ff M;&%G('Q\('9F;&%G('Q\('IF;&%G*0H^( ES=')C<'DH9F)U9BP@(BTB*3L*e M/B @(&EF("AJ9FQA9RD@<W1R8V%T*&9B=68L(")J(BD["CX@("!I9B H;69Ld M86<I('-T<F-A="AF8G5F+" B;2(I.PH^(" @:68@*')F;&%G*2!S=')C870Hc M9F)U9BP@(G(B*3L*-#<U8S0Y.0H\(" @<')I;G1F*"(@(" T+B!4>7!E($-4b M4DPM1"!T;R!R971U<FX@=&\@=&AE(&)A8VMU<"!P<F]G<F%M7&XB*3L*+2TMa M"CX@("!P<FEN=&8H(B @(#0N(%1Y<&4@0U123"U$('1O(')E='5R;B!T;R!Tz M:&4@8F%C:W5P+W)E<W1O<F4@<')O9W)A;5QN(BD["C0Y,&,U,30*/" @(&5Ry M<F]R*#(L(")5<V%G93H@8F%C:W5P(%LM9&IM;G-T=GI=(&1I<C$@9&ER,B(Lx M("(B+" B(BD["BTM+0H^(" @97)R;W(H,BP@(E5S86=E.B E<R!;+61J;6YRw M<W1V>ET@9&ER,2!D:7(R(BP@(B(L("(B*3L*-#DX8S4R,@H\(" @9G!R:6YTv M9BAS=&1E<G(L(")B86-K=7 Z("5S)7,E<UQN(BP@<S$L(',R+"!S,RD["BTMu M+0H^(" @9G!R:6YT9BAS=&1E<G(L("(E<SH@)7,E<R5S7&XB+"!P;F%M92P@t -<S$L(',R+"!S,RD["BASs r end ================================================================ The first cup of coffe recapitulates phylogeny cwr@pnet01.cts.com ---------------------------------------------------------------- UUCP: {nosc ucsd hplabs!hp-sdd}!crash!pnet01!cwr ARPA: crash!pnet01!cwr@nosc.mil INET: cwr@pnet01.cts.com