From owner-freebsd-questions@FreeBSD.ORG Mon Sep 14 12:41:16 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 3FFAD1065693 for ; Mon, 14 Sep 2009 12:41:16 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-pz0-f171.google.com (mail-pz0-f171.google.com [209.85.222.171]) by mx1.freebsd.org (Postfix) with ESMTP id 0D9DD8FC25 for ; Mon, 14 Sep 2009 12:41:15 +0000 (UTC) Received: by pzk1 with SMTP id 1so51203pzk.13 for ; Mon, 14 Sep 2009 05:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=k2RGONX0CC9ZNGBhphsLjP359bOWq07uMEUXHaDk4wI=; b=dZONYa0J4gfmre15+1Ws/Plm8KWZ5Z2KyehVWCUFQQJwM9rihkUo+xOgcPQxF0fK7F betnBsLbif1Ce1LIlIg9PDmGtBNQSdf9g9LCD7TD/eCnIch7+vO26/UYjme7D5NM7QcI YJJLNKWBk24SJdXhpAbNfWKjRaQmRt3uVpkXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ePaebxHpzEPe6Oqhq3YZ26h/FX8VMkyopXy8QFGOaOxzpBSHYmLz/q0j3/XiusuLBC VGR+pb4m6ymtNVLUt2uqJaDEUx1cYCXY8a7Z2KsME3Z1Q3ooP+6hyZoxeq2+L6s654yB OrsZSsAD1mNmQ+gpCxF2EqVSa6VE+TlRrjw8E= Received: by 10.115.149.10 with SMTP id b10mr11256819wao.157.1252932075283; Mon, 14 Sep 2009 05:41:15 -0700 (PDT) Received: from ?192.168.1.100? (adsl-76-238-148-150.dsl.irvnca.sbcglobal.net [76.238.148.150]) by mx.google.com with ESMTPS id 20sm3554147pzk.5.2009.09.14.05.41.13 (version=SSLv3 cipher=RC4-MD5); Mon, 14 Sep 2009 05:41:14 -0700 (PDT) Sender: Chris Maness Message-ID: <4AAE39E8.8080302@chrismaness.com> Date: Mon, 14 Sep 2009 05:41:12 -0700 From: Chris Maness User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: utisoft@googlemail.com References: <0016e6d7ea7bc68d970473840acb@google.com> In-Reply-To: <0016e6d7ea7bc68d970473840acb@google.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Dump/Restore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 12:41:16 -0000 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. I lost a file that I need back. Is it > > > > > possible to use restore like tar and explode it into a directory > > > > > instead of a pristine partition/mount? Or even better, is it possible > > > > > 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. The restore does not seem to work from my mac (this is where > > > > my backup dumps reside as I have two massive HDs). I guess the mac > > > > restore would only work with HFS+ and not UFS. I 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 > you 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