From owner-freebsd-doc Wed Aug 28 8:10:13 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C367237B400 for ; Wed, 28 Aug 2002 08:10:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D3C443E65 for ; Wed, 28 Aug 2002 08:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7SFA2JU093380 for ; Wed, 28 Aug 2002 08:10:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7SFA2r2093379; Wed, 28 Aug 2002 08:10:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C69537B400 for ; Wed, 28 Aug 2002 08:03:21 -0700 (PDT) Received: from Kain.sumuk.de (Kain.sumuk.de [213.221.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id A770D43E75 for ; Wed, 28 Aug 2002 08:03:19 -0700 (PDT) (envelope-from vincent@Kain.sumuk.de) Received: from Kain.sumuk.de (localhost [127.0.0.1]) by Kain.sumuk.de (8.12.5/8.12.5) with ESMTP id g7SF3Ibn094715 for ; Wed, 28 Aug 2002 17:03:18 +0200 (CEST) (envelope-from vincent@Kain.sumuk.de) Received: (from vincent@localhost) by Kain.sumuk.de (8.12.5/8.12.5/Submit) id g7SF3HRT094714; Wed, 28 Aug 2002 17:03:17 +0200 (CEST) Message-Id: <200208281503.g7SF3HRT094714@Kain.sumuk.de> Date: Wed, 28 Aug 2002 17:03:17 +0200 (CEST) From: Martin Heinen Reply-To: Martin Heinen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/42125: [PATCH] slightly reformulate remote backups Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42125 >Category: docs >Synopsis: [PATCH] slightly reformulate remote backups >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 28 08:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Martin Heinen >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD Kain.sumuk.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Aug 12 13:45:36 CEST 2002 toor@Kain.sumuk.de:/usr/obj/usr/src/sys/KAIN i386 >Description: - added a missing space, - rhosts -> .rhosts, - moved long command lines inside so the reader can easily compare with the following examples, - rdump/rrestore -> dump/restore when used in a secure fashion >How-To-Repeat: Read 'Backup Basics' in the handbook. >Fix: Index: chapter.sgml =================================================================== RCS file: /u/cvs/doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml,v retrieving revision 1.105 diff -u -r1.105 chapter.sgml --- chapter.sgml 27 Aug 2002 18:08:01 -0000 1.105 +++ chapter.sgml 28 Aug 2002 14:32:15 -0000 @@ -1467,36 +1467,38 @@ these are typically mount points for other filesystems or symbolic links into those filesystems. - dumphas quirks that remain from its early days in + dump has quirks that remain from its early days in Version 6 of AT&T Unix (circa 1975). The default parameters are suitable for 9-track tapes (6250 bpi), not the high-density media available today (up to 62,182 ftpi). These defaults must be overridden on the command line to utilize the capacity of current tape drives. - rhosts + .rhosts It is also possible to backup data across the network to a tape drive attached to another computer with rdump and rrestore. Both programs rely upon rcmd and ruserok to access the remote tape drive. Therefore, - the user performing the backup must have - rhosts access to the remote computer. The + the user performing the backup must be listed in the + .rhosts file on the remote computer. The arguments to rdump and rrestore must be suitable - to use on the remote computer. (e.g. When + to use on the remote computer. When rdumping from a FreeBSD computer to an Exabyte tape drive connected to a Sun called - komodo, use: /sbin/rdump 0dsbfu - 54000 13000 126 komodo:/dev/nrsa8 /dev/rda0a - 2>&1) Beware: there are security implications to - allowing rhosts commands. Evaluate your + komodo, use: + + &prompt.root; /sbin/rdump 0dsbfu 54000 13000 126 komodo:/dev/nrsa8 /dev/rda0a 2>&1 + + Beware: there are security implications to + allowing .rhosts authentication. Evaluate your situation carefully. - It is also possible to use rdump and - rrestore in a more secure fashion over + It is also possible to use dump and + restore in a more secure fashion over ssh. - Using <command>rdump</command> over <application>ssh</application> + Using <command>dump</command> over <application>ssh</application> &prompt.root; /sbin/dump -0uan -f - /usr | gzip -2 | ssh1 -c blowfish \ targetuser@targetmachine.example.com dd of=/mybigfiles/dump-usr-l0.gz @@ -1525,8 +1527,11 @@ tar, which FreeBSD utilizes, supports remote devices using the same syntax as rdump. To tar to an Exabyte tape drive connected to a - Sun called komodo, use: /usr/bin/tar - cf komodo:/dev/nrsa8 . 2>&1. For versions without + Sun called komodo, use: + + &prompt.root; /usr/bin/tar cf komodo:/dev/nrsa8 . 2>&1 + + For versions without remote device support, you can use a pipeline and rsh to send the data to a remote tape drive. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message