diff --git a/en_US.ISO8859-1/books/handbook/backups/chapter.sgml b/en_US.ISO8859-1/books/handbook/backups/chapter.sgml index bc201ff928..a3f1582f97 100644 --- a/en_US.ISO8859-1/books/handbook/backups/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/backups/chapter.sgml @@ -1,7 +1,7 @@ <!-- The FreeBSD Documentation Project - $FreeBSD$ + $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/backups/chapter.sgml,v 1.11 1999/09/06 06:52:53 peter Exp $ --> <chapter id="backups"> @@ -30,12 +30,6 @@ remember to specify exactly what version of FreeBSD you are using and include as many details of your hardware as possible.</para> - <sect1> - <title>* What about backups to floppies?</title> - - <para></para> - </sect1> - <sect1 id="backups-tapebackups"> <title>Tape Media</title> @@ -608,6 +602,95 @@ echo "The floppy has been unmounted and is now ready."]]></programlisting> </sect3> </sect2> </sect1> + + <sect1 id="backups-floppybackups"> + <title>What about backups to floppies?</title> + + <sect2 id="floppies-using"> + <title>Can I use floppies for backing up my data?</title> + + <para>Floppy disks are not really a suitable media for + making backups as:</para> + + <itemizedlist> + <listitem> + <para>The media is unreliable, especially over long periods of + time</para> + </listitem> + + <listitem> + <para>Backing up and restoring is very slow</para> + </listitem> + + <listitem> + <para>They have a very limited capacity (the days of backing up + an entire hard disk onto a dozen or so floppies has long since + passed).</para> + </listitem> + </itemizedlist> + + <para>However, if you have no other method of backing up your data then + floppy disks are better than no backup at all.</para> + + <para>If you do have to use floppy disks then ensure that you use good + quality ones. Floppies that have been lying around the office for a + couple of years are a bad choice. Ideally use new ones from a + reputable manufacturer.</para> + </sect2> + + <sect2 id="floppies-creating"> + <title>So how do I backup my data to floppies?</title> + + <para>The best way to backup to floppy disk is to use + &man.tar.1; with the <option>-M</option> (multi volume) option, which + allows backups to span multiple floppies.</para> + + <para>To backup all the files in the current directory and sub-directory + use this (as root):</para> + + <screen>&prompt.root; <userinput>tar Mcvf /dev/rfd0 *</userinput></screen> + + <para>When the first floppy is full &man.tar.1; will prompt you to + insert the next volume (because &man.tar.1; is media independent it + refers to volumes. In this context it means floppy disk)</para> + + <screen>Prepare volume #2 for /dev/rfd0 and hit return:</screen> + + <para>This is repeated (with the volume number incrementing) until all + the specified files have been archived.</para> + </sect2> + + <sect2 id="floppies-compress"> + <title>Can I compress my backups?</title> + + <para>Unfortunately, &man.tar.1; will not allow the + <option>-z</option> option to be used for multi-volume archives. + You could, of course, &man.gzip.1; all the files, &man.tar.1; them to + the floppies, then &man.gunzip.1; the files again!</para> + </sect2> + + <sect2 id="floppies-restoring"> + <title>How do I restore my backups?</title> + + <para>To restore the entire archive use:</para> + + <screen>&prompt.root; <userinput>tar Mxvf /dev/rfd0</userinput></screen> + + <para>To restore only specific files you can either start with the first + floppy and use:</para> + + <screen>&prompt.root; <userinput>tar Mxvf /dev/rfd0 <replaceable>filename</replaceable></userinput></screen> + + <para>&man.tar.1; will prompt you to insert subsequent floppies until it + finds the required file.</para> + + <para>Alternatively, if you know which floppy the file is on then you + can simply insert that floppy and use the same command as above. Note + that if the first file on the floppy is a continuation from the + previous one then &man.tar.1; will warn you that it cannot restore it, + even if you have not asked it to!</para> + </sect2> + </sect1> </chapter> <!-- diff --git a/en_US.ISO_8859-1/books/handbook/backups/chapter.sgml b/en_US.ISO_8859-1/books/handbook/backups/chapter.sgml index bc201ff928..a3f1582f97 100644 --- a/en_US.ISO_8859-1/books/handbook/backups/chapter.sgml +++ b/en_US.ISO_8859-1/books/handbook/backups/chapter.sgml @@ -1,7 +1,7 @@ <!-- The FreeBSD Documentation Project - $FreeBSD$ + $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/backups/chapter.sgml,v 1.11 1999/09/06 06:52:53 peter Exp $ --> <chapter id="backups"> @@ -30,12 +30,6 @@ remember to specify exactly what version of FreeBSD you are using and include as many details of your hardware as possible.</para> - <sect1> - <title>* What about backups to floppies?</title> - - <para></para> - </sect1> - <sect1 id="backups-tapebackups"> <title>Tape Media</title> @@ -608,6 +602,95 @@ echo "The floppy has been unmounted and is now ready."]]></programlisting> </sect3> </sect2> </sect1> + + <sect1 id="backups-floppybackups"> + <title>What about backups to floppies?</title> + + <sect2 id="floppies-using"> + <title>Can I use floppies for backing up my data?</title> + + <para>Floppy disks are not really a suitable media for + making backups as:</para> + + <itemizedlist> + <listitem> + <para>The media is unreliable, especially over long periods of + time</para> + </listitem> + + <listitem> + <para>Backing up and restoring is very slow</para> + </listitem> + + <listitem> + <para>They have a very limited capacity (the days of backing up + an entire hard disk onto a dozen or so floppies has long since + passed).</para> + </listitem> + </itemizedlist> + + <para>However, if you have no other method of backing up your data then + floppy disks are better than no backup at all.</para> + + <para>If you do have to use floppy disks then ensure that you use good + quality ones. Floppies that have been lying around the office for a + couple of years are a bad choice. Ideally use new ones from a + reputable manufacturer.</para> + </sect2> + + <sect2 id="floppies-creating"> + <title>So how do I backup my data to floppies?</title> + + <para>The best way to backup to floppy disk is to use + &man.tar.1; with the <option>-M</option> (multi volume) option, which + allows backups to span multiple floppies.</para> + + <para>To backup all the files in the current directory and sub-directory + use this (as root):</para> + + <screen>&prompt.root; <userinput>tar Mcvf /dev/rfd0 *</userinput></screen> + + <para>When the first floppy is full &man.tar.1; will prompt you to + insert the next volume (because &man.tar.1; is media independent it + refers to volumes. In this context it means floppy disk)</para> + + <screen>Prepare volume #2 for /dev/rfd0 and hit return:</screen> + + <para>This is repeated (with the volume number incrementing) until all + the specified files have been archived.</para> + </sect2> + + <sect2 id="floppies-compress"> + <title>Can I compress my backups?</title> + + <para>Unfortunately, &man.tar.1; will not allow the + <option>-z</option> option to be used for multi-volume archives. + You could, of course, &man.gzip.1; all the files, &man.tar.1; them to + the floppies, then &man.gunzip.1; the files again!</para> + </sect2> + + <sect2 id="floppies-restoring"> + <title>How do I restore my backups?</title> + + <para>To restore the entire archive use:</para> + + <screen>&prompt.root; <userinput>tar Mxvf /dev/rfd0</userinput></screen> + + <para>To restore only specific files you can either start with the first + floppy and use:</para> + + <screen>&prompt.root; <userinput>tar Mxvf /dev/rfd0 <replaceable>filename</replaceable></userinput></screen> + + <para>&man.tar.1; will prompt you to insert subsequent floppies until it + finds the required file.</para> + + <para>Alternatively, if you know which floppy the file is on then you + can simply insert that floppy and use the same command as above. Note + that if the first file on the floppy is a continuation from the + previous one then &man.tar.1; will warn you that it cannot restore it, + even if you have not asked it to!</para> + </sect2> + </sect1> </chapter> <!--