From owner-svn-doc-all@FreeBSD.ORG Wed Apr 9 18:14:02 2014 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F98368F; Wed, 9 Apr 2014 18:14:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6AE251B4D; Wed, 9 Apr 2014 18:14:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s39IE2dE067198; Wed, 9 Apr 2014 18:14:02 GMT (envelope-from dru@svn.freebsd.org) Received: (from dru@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s39IE2aZ067197; Wed, 9 Apr 2014 18:14:02 GMT (envelope-from dru@svn.freebsd.org) Message-Id: <201404091814.s39IE2aZ067197@svn.freebsd.org> From: Dru Lavigne Date: Wed, 9 Apr 2014 18:14:02 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44509 - head/en_US.ISO8859-1/books/handbook/disks X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 18:14:02 -0000 Author: dru Date: Wed Apr 9 18:14:01 2014 New Revision: 44509 URL: http://svnweb.freebsd.org/changeset/doc/44509 Log: Integrate tape backups into Backup Basics chapter. This improves the flow as tar/dump are already covered. The next commit will fix the formatting. 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 17:57:01 2014 (r44508) +++ head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Wed Apr 9 18:14:01 2014 (r44509) @@ -1675,89 +1675,6 @@ cd0: Attempt to query device size failed Collection. - - Creating and Using Data Tapes - - tape media - - 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 SCSI, such as LTO or - DAT. There is limited support for SATA - and USB tape drives. - - For SCSI tape devices, &os; uses the &man.sa.4; driver and the - /dev/sa0, /dev/nsa0, - and /dev/esa0 devices. The physical device name is - /dev/sa0. When - /dev/nsa0 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 /dev/esa0 - ejects the tape after the device is closed. - - This section summarizes how to configure and use a - SCSI tape device on &os;. - - - Using a Tape Drive for Backups - - - tape media - mt - - - In &os;, mt 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. For - example, the first three files on a tape can be - preserved by skipping past them before writing a new - file: - - &prompt.root; mt -f /dev/nsa0 fsf 3 - - This utility supports many operations. Refer to - &man.mt.1; for details. - - To write a single file to tape using - tar, specify the name of the tape device - and the file to backup: - - &prompt.root; tar cvf /dev/sa0 file - - To recovering files from a tar archive on tape into - the current directory: - - &prompt.root; tar xvf /dev/sa0 - - To backup a UFS file system, use - dump. This examples backs up - /usr without rewinding the tape when - finished: - - &prompt.root; dump -0aL -b64 -f /dev/nsa0 /usr - - To interactively restore files from a dump file on - tape into the current directory: - - &prompt.root; restore -i -f /dev/nsa0 - - - - Other Tape Software - - Third-party programs are available to simplify tape - backup. The most popular are - Amanda and - Bacula. These programs aim to make - backups easier and more convenient, or to automate complex - backups of multiple machines. The Ports Collection contains - both these and other tape utility applications. - - - Backup Basics @@ -2009,6 +1926,65 @@ cd0: Attempt to query device size failed + + Using Data Tapes for Backups + + tape media + + 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 SCSI, such as LTO or + DAT. There is limited support for SATA + and USB tape drives. + + For SCSI tape devices, &os; uses the &man.sa.4; driver and the + /dev/sa0, /dev/nsa0, + and /dev/esa0 devices. The physical device name is + /dev/sa0. When + /dev/nsa0 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 /dev/esa0 + ejects the tape after the device is closed. + + In &os;, mt 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. For + example, the first three files on a tape can be + preserved by skipping past them before writing a new + file: + + &prompt.root; mt -f /dev/nsa0 fsf 3 + + This utility supports many operations. Refer to + &man.mt.1; for details. + + To write a single file to tape using + tar, specify the name of the tape device + and the file to backup: + + &prompt.root; tar cvf /dev/sa0 file + + To recovering files from a tar archive on tape into + the current directory: + + &prompt.root; tar xvf /dev/sa0 + + To backup a UFS file system, use + dump. This examples backs up + /usr without rewinding the tape when + finished: + + &prompt.root; dump -0aL -b64 -f /dev/nsa0 /usr + + To interactively restore files from a dump file on + tape into the current directory: + + &prompt.root; restore -i -f /dev/nsa0 + + Third-Party Backup Utilities @@ -2018,7 +1994,9 @@ cd0: Attempt to query device size failed The &os; Ports Collection provides many third-party utilities which can be used to schedule the creation of - backups. Many of these applications are client/server based + backups, simplify tape backup, and make + backups easier and more convenient. + Many of these applications are client/server based and can be used to automate the backups of a single system or all of the computers in a network.