Date: Wed, 28 Aug 2002 17:03:17 +0200 (CEST) From: Martin Heinen <martin@sumuk.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/42125: [PATCH] slightly reformulate remote backups Message-ID: <200208281503.g7SF3HRT094714@Kain.sumuk.de>
next in thread | raw e-mail | index | archive | help
>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 <screen> 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.</para></note>
- <para><command>dump</command>has quirks that remain from its early days in
+ <para><command>dump</command> 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.</para>
- <indexterm><primary><filename>rhosts</filename></primary></indexterm>
+ <indexterm><primary><filename>.rhosts</filename></primary></indexterm>
<para>It is also possible to backup data across the network to a
tape drive attached to another computer with <command>rdump</command> and
<command>rrestore</command>. Both programs rely upon <command>rcmd</command> and
<command>ruserok</command> to access the remote tape drive. Therefore,
- the user performing the backup must have
- <literal>rhosts</literal> access to the remote computer. The
+ the user performing the backup must be listed in the
+ <filename>.rhosts</filename> file on the remote computer. The
arguments to <command>rdump</command> and <command>rrestore</command> must be suitable
- to use on the remote computer. (e.g. When
+ to use on the remote computer. When
<command>rdump</command>ing from a FreeBSD computer to an
Exabyte tape drive connected to a Sun called
- <hostid>komodo</hostid>, use: <command>/sbin/rdump 0dsbfu
- 54000 13000 126 komodo:/dev/nrsa8 /dev/rda0a
- 2>&1</command>) Beware: there are security implications to
- allowing <literal>rhosts</literal> commands. Evaluate your
+ <hostid>komodo</hostid>, use:</para>
+
+ <screen>&prompt.root; <userinput>/sbin/rdump 0dsbfu 54000 13000 126 komodo:/dev/nrsa8 /dev/rda0a 2>&1</userinput></screen>
+
+ <para>Beware: there are security implications to
+ allowing <filename>.rhosts</filename> authentication. Evaluate your
situation carefully.</para>
- <para>It is also possible to use <command>rdump</command> and
- <command>rrestore</command> in a more secure fashion over
+ <para>It is also possible to use <command>dump</command> and
+ <command>restore</command> in a more secure fashion over
<command>ssh</command>.</para>
<example>
- <title>Using <command>rdump</command> over <application>ssh</application></title>
+ <title>Using <command>dump</command> over <application>ssh</application></title>
<screen>&prompt.root; <userinput>/sbin/dump -0uan -f - /usr | gzip -2 | ssh1 -c blowfish \
targetuser@targetmachine.example.com dd of=/mybigfiles/dump-usr-l0.gz</userinput></screen>
@@ -1525,8 +1527,11 @@
<command>tar</command>, which FreeBSD utilizes, supports remote
devices using the same syntax as <command>rdump</command>. To
<command>tar</command> to an Exabyte tape drive connected to a
- Sun called <hostid>komodo</hostid>, use: <command>/usr/bin/tar
- cf komodo:/dev/nrsa8 . 2>&1</command>. For versions without
+ Sun called <hostid>komodo</hostid>, use:</para>
+
+ <screen>&prompt.root; <userinput>/usr/bin/tar cf komodo:/dev/nrsa8 . 2>&1</userinput></screen>
+
+ <para>For versions without
remote device support, you can use a pipeline and
<command>rsh</command> to send the data to a remote tape
drive.</para>
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208281503.g7SF3HRT094714>
