From owner-freebsd-questions Thu Oct 24 09:09:01 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA01904 for questions-outgoing; Thu, 24 Oct 1996 09:09:01 -0700 (PDT) Received: from croute.com (ishm2.croute.com [199.97.106.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA01896 for ; Thu, 24 Oct 1996 09:08:57 -0700 (PDT) Received: from bldg1.croute.com by croute.com (4.1/SMI-4.1) id AA11700; Thu, 24 Oct 96 11:09:37 CDT Received: from COMPUROUTE/SpoolDir by bldg1.croute.com (Mercury 1.13); Thu, 24 Oct 96 11:08:57 +600 Received: from SpoolDir by COMPUROUTE (Mercury 1.13); Thu, 24 Oct 96 11:08:49 +600 From: "Larry Dolinar" Organization: CompuRoute, Inc. To: questions@FreeBSD.ORG Date: Thu, 24 Oct 1996 11:08:42 +600 CDT Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Subject: Re: remote tar/rmt Priority: normal X-Mailer: Pegasus Mail for Windows (v2.42a) Message-Id: <117350AF11C1@bldg1.croute.com> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk | From: "Craig Shaver" | I have a question about doing a tar to a device on another host. | Using the tar command does not seem to work. The man page says | you should be able to do "tar -cvf otherhost:/dev/rst0 local.files". But | this just hangs. Does anyone use tar to do backups to a remote device? | What user are you doing this under, root? If so, otherhost:/root/.rhosts needs to allow access to your host. If not root, then the same user must exist on both, and /etc/hosts.equiv is involved. But it normally will come back and say "permission denied" if you haven't set this up. The waters get muddier of NIS is deployed; can't touch that one. The older style (from Sun manpages): tar cvfb - 20 filenames | rsh host dd of=/dev/rst0 obs=20b I've never tested it under FreeBSD, but the rsh considerations (/etc/hosts.equiv and/or ~root/.rhosts) still apply. We did use this approach with the Suns and it worked. cheers, larry