From owner-freebsd-questions Thu Dec 3 15:48:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13834 for freebsd-questions-outgoing; Thu, 3 Dec 1998 15:48:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from marvin.ece.utexas.edu (marvin.ece.utexas.edu [128.83.52.151]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13799 for ; Thu, 3 Dec 1998 15:47:59 -0800 (PST) (envelope-from bgrayson@marvin.ece.utexas.edu) Received: (from bgrayson@localhost) by marvin.ece.utexas.edu (8.8.8/8.8.8) id RAA29268; Thu, 3 Dec 1998 17:46:56 -0600 (CST) Message-ID: <19981203174655.A28692@marvin.ece.utexas.edu> Date: Thu, 3 Dec 1998 17:46:55 -0600 From: "Brian C. Grayson" To: Doug White , Michael Richards Cc: questions@FreeBSD.ORG Subject: Re: Backing up via rdump using ssh References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: ; from Doug White on Wed, Nov 18, 1998 at 12:13:28PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry about the late reply -- cleaning out my mailbox! On Wed, Nov 18, 1998 at 12:13:28PM -0800, Doug White wrote: > > Actually, we have a script hacked up to do this without replacing rsh. ... > for i in / /var /usr /usr1; do > dump 0uBbf 2000000 $blksize - $i | ssh tapeserver "team 50k 16 > >/dev/nrst0" FYI, under NetBSD, one can set the environment variable RCMD_CMD to "ssh", and then mt/dump/rmt (which all use rcmd) will use ssh rather than rsh. Maybe someone could pull these changes into FreeBSD? So, the following works for me under NetBSD: (backuphost has rshd/rcmd/rexecd/rlogind disabled) setenv RCMD_CMD ssh setenv TAPE backuphost:/dev/nrst0 (backuphost also needs to be in your .knownhosts file etc.) mt status dump mt status mt offl I think this makes dump's job easier, as rmt passes status and error messages etc. back and forth, right? Brian (looking forward to a time when the *BSD userland is more unified than it is now...) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message