Date: Sun, 18 Feb 2001 03:03:15 -0600 (CST) From: Nick Rogness <nick@rogness.net> To: cjclark@alum.mit.edu Cc: "Dan Mahoney, System Admin" <danm@prime.gushi.org>, questions@FreeBSD.ORG Subject: Re: dump and ssh Message-ID: <Pine.BSF.4.21.0102180259120.90407-100000@cody.jharris.com> In-Reply-To: <20010218001714.E62368@rfx-216-196-73-168.users.reflex>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 Feb 2001, Crist J. Clark wrote: > On Fri, Feb 16, 2001 at 03:03:18AM -0500, Dan Mahoney, System Admin wrote: > > > > 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 - That will actually restore your dump on the machine you are restoring from. If you just want to grap the already dumped file and not restore: # ssh remotehost 'cat dump_file' | cat - > local_dump_file or # ssh remotehost 'dump 0af - / ' |cat - > local_dump_file or you could just use scp. Nick Rogness <nick@rogness.net> - Keep on routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102180259120.90407-100000>