Date: Wed, 9 Apr 2014 17:57:02 +0000 (UTC) From: Dru Lavigne <dru@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44508 - head/en_US.ISO8859-1/books/handbook/disks Message-ID: <201404091757.s39Hv2oa059151@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dru Date: Wed Apr 9 17:57:01 2014 New Revision: 44508 URL: http://svnweb.freebsd.org/changeset/doc/44508 Log: Editorial Review of Tape Backup chapter. The next commit will integrate it into the Backup Basics chapter. Sponsored by: iXsystems Modified: head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/disks/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Wed Apr 9 15:54:45 2014 (r44507) +++ head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Wed Apr 9 17:57:01 2014 (r44508) @@ -1680,78 +1680,66 @@ cd0: Attempt to query device size failed <indexterm><primary>tape media</primary></indexterm> - <para>Tape technology has continued to evolve but is less likely - to be used in a modern system. Modern backup systems tend to - use off site combined with local removable disk drive - technologies. Still, &os; will support any tape drive that - uses <acronym>SCSI</acronym>, such as LTO and older devices such - as DAT. There is limited support for <acronym>SATA</acronym> + <para>While tape technology has continued to evolve, + modern backup systems tend to combine + off-site backups with local removable media. + &os; supports any tape drive that + uses <acronym>SCSI</acronym>, such as <acronym>LTO</acronym> or + <acronym>DAT</acronym>. There is limited support for <acronym>SATA</acronym> and <acronym>USB</acronym> tape drives.</para> - <sect2 xml:id="tapes-sa0"> - <title>Serial Access with &man.sa.4;</title> - - <indexterm> - <primary>tape drives</primary> - </indexterm> - - <para>&os; uses the &man.sa.4; driver, providing + <para>For <acronym>SCSI</acronym> tape devices, &os; uses the &man.sa.4; driver and the <filename>/dev/sa0</filename>, <filename>/dev/nsa0</filename>, - and <filename>/dev/esa0</filename>. In normal use, only - <filename>/dev/sa0</filename> is needed. - <filename>/dev/nsa0</filename> is the same physical drive - as <filename>/dev/sa0</filename> but does not rewind the - tape after writing a file. This allows writing more than one + and <filename>/dev/esa0</filename> devices. The physical device name is + <filename>/dev/sa0</filename>. When + <filename>/dev/nsa0</filename> is used, the backup application will + not rewind the + tape after writing a file, which allows writing more than one file to a tape. Using <filename>/dev/esa0</filename> - ejects the tape after the device is closed, if - applicable.</para> - </sect2> + ejects the tape after the device is closed.</para> + + <para>This section summarizes how to configure and use a + <acronym>SCSI</acronym> tape device on &os;.</para> <sect2> - <title xml:id="tapes-mt">Controlling the Tape Drive with - &man.mt.1;</title> + <title xml:id="tapes-mt">Using a Tape Drive for Backups</title> <indexterm> <primary>tape media</primary> <secondary>mt</secondary> </indexterm> - <para>&man.mt.1; is the &os; utility for controlling other + <para>In &os;, <command>mt</command> is used to control operations of the tape drive, such as seeking through files on - a tape or writing tape control marks to the tape.</para> - - <para>For example, the first three files on a tape can be + a tape or writing tape control marks to the tape. For + example, the first three files on a tape can be preserved by skipping past them before writing a new file:</para> <screen>&prompt.root; <userinput>mt -f /dev/nsa0 fsf 3</userinput></screen> - </sect2> - - <sect2> - <title xml:id="tapes-tar">Using &man.tar.1; to Read and - Write Tape Backups</title> - - <para>An example of writing a single file to tape using - &man.tar.1;:</para> + + <para>This utility supports many operations. Refer to + &man.mt.1; for details.</para> + + <para>To write a single file to tape using + <command>tar</command>, specify the name of the tape device + and the file to backup:</para> <screen>&prompt.root; <userinput>tar cvf /dev/sa0 <replaceable>file</replaceable></userinput></screen> - <para>Recovering files from a &man.tar.1; archive on tape into + <para>To recovering files from a <command>tar</command> archive on tape into the current directory:</para> <screen>&prompt.root; <userinput>tar xvf /dev/sa0</userinput></screen> - </sect2> - - <sect2> - <title xml:id="tapes-dumprestore">Using &man.dump.8; and - &man.restore.8; to Create and Restore Backups</title> - <para>A simple backup of <filename>/usr</filename> with - &man.dump.8;:</para> + <para>To backup a <acronym>UFS</acronym> file system, use + <command>dump</command>. This examples backs up + <filename>/usr</filename> without rewinding the tape when + finished:</para> <screen>&prompt.root; <userinput>dump -0aL -b64 -f /dev/nsa0 /usr</userinput></screen> - <para>Interactively restoring files from a &man.dump.8; file on + <para>To interactively restore files from a <command>dump</command> file on tape into the current directory:</para> <screen>&prompt.root; <userinput>restore -i -f /dev/nsa0</userinput></screen> @@ -1760,7 +1748,7 @@ cd0: Attempt to query device size failed <sect2> <title xml:id="tapes-othersofware">Other Tape Software</title> - <para>Higher-level programs are available to simplify tape + <para>Third-party programs are available to simplify tape backup. The most popular are <application>Amanda</application> and <application>Bacula</application>. These programs aim to make
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404091757.s39Hv2oa059151>