From owner-freebsd-questions Wed Aug 14 2:44:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66E0B37B401 for ; Wed, 14 Aug 2002 02:44:48 -0700 (PDT) Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E31A43E42 for ; Wed, 14 Aug 2002 02:44:47 -0700 (PDT) (envelope-from listsub@401.cx) Received: from 401.cx (jenny.twenty4help.se [62.20.102.59]) by maile.telia.com (8.12.5/8.12.5) with ESMTP id g7E9ijOK012437; Wed, 14 Aug 2002 11:44:45 +0200 (CEST) X-Original-Recipient: freebsd-questions@FreeBSD.ORG Message-ID: <3D5A2708.3020403@401.cx> Date: Wed, 14 Aug 2002 11:46:48 +0200 From: "Roger 'Rocky' Vetterberg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jan Lentfer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tar from linux to remote freebsd-server References: <1029156540.15440.6.camel@jan-linnb.lan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jan Lentfer wrote: > Hi all, > > I am trying to get a little deeper into tar. > I want to use tar to move an archive from a Mandrake Linux system to a > Freebsd 4.6 system. > The FreeBSD-System hast rshd and rlogind running and tar & gtar are > installed. In root's .rhosts file I have the appropriate entry to allow > root access from the Mandrake Linux client (rshd works, I tried). > > On the Mandrake Linux machine I type: > # tar cvpf 192.168.0.1:/root/hyzic.tgz Praktikum\ HyZic/ > > In response I get "Can't execute open"... > > > On my Mandrake System thereis a program /usr/bin/open. In the man pages > it says: open - start a program on a new virtual terminal (VT). > There is no open on my FreeBSD box, so this looks to be the problem. > Anything I can do about that? > > Thanks a lot in advance, > > Jan Lentfer > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message From the handbook at www.freebsd.org/handbook: Most versions of tar do not support backups across the network. The GNU version of 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 remote device support, you can use a pipeline and rsh to send the data to a remote tape drive. # tar cf - . | rsh hostname dd of=tape-device obs=20b Modify to fit your needs. YMMV. -- R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message