FreeBSD Bugzilla – Attachment 5813 Details for
Bug 13605
Add content for the empty section on floppy backups in the handbook.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 4.22 KB, created by
mark
on 1999-09-06 22:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mark
Created:
1999-09-06 22:20:00 UTC
Size:
4.22 KB
patch
obsolete
>*** /usr/doc/en_US.ISO_8859-1/books/handbook/backups/chapter.sgml.orig Sat Aug 28 16:20:37 1999 >--- /usr/doc/en_US.ISO_8859-1/books/handbook/backups/chapter.sgml Mon Sep 6 21:46:38 1999 >*************** >*** 30,41 **** > 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> > >--- 30,35 ---- >*************** >*** 607,612 **** >--- 601,707 ---- > </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 >+ <filename>tar(1)</filename> with the <filename>[-]M</filename> >+ (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 <filename>tar(1)</filename> >+ will prompt you to insert the next volume >+ (because <filename>tar(1)</filename> 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, <filename>tar(1)</filename> will not allow >+ the <filename>-z</filename> option to be used for multi-volume >+ archives. You could, of course, <filename>gzip(1)</filename> >+ all the files, <filename>tar(1)</filename> them to the floppies, >+ then <filename>gunzip(1)</filename> 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 filename.. >+ </userinput></screen> >+ >+ <para><filename>tar(1)</filename> 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 >+ <filename>tar(1)</filename> will warn you that it cannot >+ restore it, even if you have not asked it to!</para> >+ >+ </sect2> >+ >+ </sect1> >+ > </chapter> > > <!--
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13605
: 5813