From owner-freebsd-questions@FreeBSD.ORG Mon Sep 14 14:06:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AC931065670 for ; Mon, 14 Sep 2009 14:06:18 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id B06F18FC2C for ; Mon, 14 Sep 2009 14:06:17 +0000 (UTC) Received: by fxm6 with SMTP id 6so2001870fxm.43 for ; Mon, 14 Sep 2009 07:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=dp35O9rpQSbs7fa92n6WhIikz9igL3V7RV+13NNUJHw=; b=q++gNbZ53GLHQllVbZRMOKgRUqMq+D9nN8rU0pVbGaMT2/JW69TUMlE5+JoYtd9/Ex KhLd9IITfzDBDJ/lz94z9tvuoP+NVky5tGoKs5tO2b47aFm/zq3HQsVYNZedd0s9UUXi ESZ+yxN9xk0UELwE6ReQKzWdFfJBN7yxmKkuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=YGw2B6bMak6SVsJnFyzKlK+9uxCkqnT8sxSFbbaD5/K8+ndHNfIDbgu/0dpezYJC/k 3XsHBQ0HIpCpWEbIiLJ3yhXZKXHFXG1gNaCrmgd21K++6eWKZw+dukCWYjxgFzICT+11 CXbK4Pe95N8JJB7V0+jmmXkCPfLG8fl/5LNZM= MIME-Version: 1.0 Received: by 10.204.156.28 with SMTP id u28mr5154765bkw.74.1252937175156; Mon, 14 Sep 2009 07:06:15 -0700 (PDT) In-Reply-To: <4AAE39E8.8080302@chrismaness.com> References: <0016e6d7ea7bc68d970473840acb@google.com> <4AAE39E8.8080302@chrismaness.com> From: Chris Rees Date: Mon, 14 Sep 2009 15:05:55 +0100 Message-ID: To: Chris Maness Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: Dump/Restore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 14:06:18 -0000 2009/9/14 Chris Maness : > utisoft@googlemail.com wrote: >> >> On 14 Sep 2009 02:50, Chris Maness wrote: >> > On Sun, Sep 13, 2009 at 6:15 PM, Chris Maness chris@chrismaness.com> >> > wrote: >> > >> > > I level 0 dump of my server. =A0I lost a file that I need back. =A0I= s it >> > >> > > possible to use restore like tar and explode it into a directory >> > >> > > instead of a pristine partition/mount? =A0Or even better, is it poss= ible >> > >> > > to just extract a single file without exploding the whole tape dump? >> > >> > > >> > >> > > Sorry if the question seems stupid. >> > >> > > >> > >> > > Chris KQ6UP >> > >> > > >> > >> > >> > >> > Sorry, I was reading the restore man from my mac, and it was not as >> > >> > clear. =A0The restore does not seem to work from my mac (this is where >> > >> > my backup dumps reside as I have two massive HDs). =A0I guess the mac >> > >> > restore would only work with HFS+ and not UFS. =A0I guess the only way >> > >> > would be to move the massive dump file back over to the FreeBSD >> > >> > server. >> > >> > >> > >> > Thanks, >> > >> > Chris KQ6UP >> > >> > _______________________________________________ >> >> Try using NFS or cat over ssh, something like >> >> $ ssh my_mac 'cat dumpfile' | restore -if - >> >> restore treats the file as a tape, so it doesn't pull any bytes until yo= u >> ask it to. This should be the least network intensive way of doing it...= . >> >> >> Good luck! >> >> Chris > > Thanks, that looks like a pretty cool trick. > > Chris > Let me know how you get on with it, I gzip my dumps and can pipe together commands like that, so it should work! Chris --=20 A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list?