<HTML ><HEAD ><TITLE >Make separate backups of each group of files you want to preserve. </TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="Upgrading Your linux Distribution mini-HOWTO" HREF="index.html"><LINK REL="PREVIOUS" TITLE="Back up /etc and its subdirectories on one or more floppies. " HREF="x66.html"><LINK REL="NEXT" TITLE="Prepare root and boot floppies for the new installation." HREF="x120.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Upgrading Your linux Distribution mini-HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x66.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x120.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="AEN69">7. Make separate backups of each group of files you want to preserve.</H1 ><P >This is the most variable part of the job, and all I can really do to help is to describe what I did in my system, in the hope that it will serve as a rough guide. Basically, you want to look at every directory that contains any </P ><P > <P ></P ><UL ><LI ><P >files that aren't part of your standard linux installation, or </P ></LI ><LI ><P >files that are actually newer than the ones you'll install when you do your new linux installation. </P ></LI ></UL > </P ><P >and separate out only those files that you want to carry over. </P ><P >(Another possible strategy is to back up all files with mtime or ctime more recent than the day of the previous linux installation, as mentioned above, and then restore from that. If you do that, you have to take into account that the new linux distribution may contain versions of some files that are newer still than the ones you saved.) </P ><P >In my case, I ended up making a .tgz file on the backup medium for each of </P ><P > <P ></P ><UL ><LI ><P >/usr/lib/rn</P ></LI ><LI ><P >/usr/lib/smail</P ></LI ><LI ><P >/usr/lib/trn (the rest of /usr/lib would be reinstalled)</P ></LI ><LI ><P >/usr/local/src</P ></LI ><LI ><P >/usr/local/bin</P ></LI ><LI ><P >/usr/local/lib</P ></LI ><LI ><P >/usr/local/lpfont</P ></LI ><LI ><P >/usr/local/man</P ></LI ><LI ><P >/usr/local/sbin</P ></LI ><LI ><P >/usr/local/thot (there were other /usr/local files I didn't need)</P ></LI ><LI ><P >/usr/openwin</P ></LI ><LI ><P >/usr/src/lilo-17 (because my new Slackware still had version 16)</P ></LI ><LI ><P >/usr/src/linux-1.2.13 (because I'd done some customizing)</P ></LI ><LI ><P >/usr/X11R6/lib/X11/app-defaults</P ></LI ><LI ><P >/usr/X11R6/lib/X11/initrc (the rest of Xfree86 was to be reinstalled)</P ></LI ><LI ><P >/var/named</P ></LI ><LI ><P >/var/openwin</P ></LI ><LI ><P >/var/texfonts</P ></LI ></UL > </P ><P >My machine was relatively easy in that there were no spool files to worry about. I don't run a news spool on this box, and since there are only two users, it was easiest just to get all the mail read before shutting down. Otherwise, /var/spool directories would have had to be backed up at the last minute. (And, of course, the news library and site directories!) </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x66.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x120.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Back up /etc and its subdirectories on one or more floppies.</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Prepare root and boot floppies for the new installation.</TD ></TR ></TABLE ></DIV ></BODY ></HTML >