From owner-freebsd-questions Sun Feb 18 0:18: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 27B4037B491 for ; Sun, 18 Feb 2001 00:17:49 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 18 Feb 2001 00:15:25 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f1I8HFY50100; Sun, 18 Feb 2001 00:17:15 -0800 (PST) (envelope-from cjc) Date: Sun, 18 Feb 2001 00:17:14 -0800 From: "Crist J. Clark" To: "Dan Mahoney, System Admin" Cc: questions@FreeBSD.ORG Subject: Re: dump and ssh Message-ID: <20010218001714.E62368@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from danm@prime.gushi.org on Fri, Feb 16, 2001 at 03:03:18AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Feb 16, 2001 at 03:03:18AM -0500, Dan Mahoney, System Admin wrote: > Hey all, > > I am currently backing up my cobalt machines (ick) to a freeBSD host by > dumping to standard output, and piping that over ssh, using buffer from > the ports to write it to a backup device (in this case a raid disk). > > My original plan had been to nfs mount the raid partition in the case of a > need to restore, but for some reason the linux can't nfs mount the freebsd > system (I think the kernel version is too old). > > So then, my question becomes, what would be the syntax to pull a file from > a remote host via ssh, using restore(8)? # ssh -luser remotehost "cat dump_file.dmp" | restore -[irRtx]f - -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message