From owner-freebsd-questions@FreeBSD.ORG Mon Sep 14 12:45:03 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 6838B1065693 for ; Mon, 14 Sep 2009 12:45:03 +0000 (UTC) (envelope-from mahlerrd@yahoo.com) Received: from web51010.mail.re2.yahoo.com (web51010.mail.re2.yahoo.com [206.190.39.129]) by mx1.freebsd.org (Postfix) with SMTP id 1985F8FC17 for ; Mon, 14 Sep 2009 12:45:02 +0000 (UTC) Received: (qmail 41758 invoked by uid 60001); 14 Sep 2009 12:45:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1252932302; bh=i0jIjYwr55n5jqlQGb0NJ304NWIl5VppT+QXuuxzMu0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Y/hy2W1wzmylpWmOPYkVUkUE6HhgJf1mRfHjVDFRtwBVq5wS2l9ZDdYihL4xj+VN7OH083t+aEa9klisdDgHHFcJAEmT9H+kcrcuzkqIcNOb5lH6Qn3RYCILBF6IUZFwDnZ9tdm9WXRRda8dXTywLHlH3sSMW69xpOzll5omUJ8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=tstb3HNIisWe63HslVtQ/yiGoDOVn6+90eOVb+MVMAv+L3M9w7fpMcut61QyIz7f2DbbB2vywN3xUMZzlY5OhL0G4DfDuEK0/PlX+SESYcmFSIueMmv7m4shxUyhHah+9iS1Cj2TUHMXEaWvGPr8q3o+L71Ksk4gQM2MKbOL6d4=; Message-ID: <302285.41141.qm@web51010.mail.re2.yahoo.com> X-YMail-OSG: 4UGTzRYVM1mN0u3JwHa_8FKg8.CwVn1a4TgNVz0cflT39UmO2z3tnRFm.cHdJglvm5MdSHHVFUGZGIvDswiz9botIZbzXuICP1LcHLYdsKGuJOkeYNt_8ezYOe_Uih5swC47wVQOnyYQ0Ji.cXnI1QeBBDe7jZ_jDRciapPe_0SWpY8OHgt94gWXshBe.C_8j358r4W7uh8DUta_mgQtTA7NC8DCsnVkdGcLLxcJDD5kZj8s6CQ8Hv1gF3DmWbGE9_1HTdFtQRh9hjpq8_NezC2sYuvVzjSJOAS7aCkQg1vGAYX6wFoULwa7J4IHFrpH97vyihOTIeRgTzfq2iYrYXHuTgH3uESejPLmR4vvqSCoyZ4rT0gpUhC6X2QnvzZDn6Sv1e.hBXU- Received: from [12.175.9.194] by web51010.mail.re2.yahoo.com via HTTP; Mon, 14 Sep 2009 05:45:01 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.347.2 Date: Mon, 14 Sep 2009 05:45:01 -0700 (PDT) From: Richard Mahlerwein To: freebsd-questions@freebsd.org, Chris Maness In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Dump/Restore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mahlerrd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 12:45:03 -0000 --- On Sun, 9/13/09, Chris Maness wrote: >From: Chris Maness =0A>Subject: Re: Dump/Restore? =0A>To: freebsd-questions@freebsd.org =0A>Date: Sunday, September 13, 2009, 9:50 PM =0A> =0A>On Sun, Sep 13, 2009 at 6:15 PM, Chris Maness w= rote: >> I level 0 dump of my server. =A0I lost a file that I need back. =A0Is it >> possible to use restore like tar and explode it into a directory >> instead of a pristine partition/mount? =A0Or 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.=A0 The restore does not seem to work from my mac (this is where >my backup dumps reside as I have two massive HDs).=A0 I guess the mac >restore would only work with HFS+ and not UFS.=A0 I guess the only way >would be to move the massive dump file back over to the FreeBSD >server. =0AIf the dump was made on the mac, it's highly likely restore will need to= be run from the mac.=A0 If it was made on freebsd, you'll likely need to r= un restore from freebsd.=A0 Assuming you run it from the appropriate place.= .=A0=20 =0AI don't have my Mac handy to check it's man pages, but in FreeBSD I beli= eve in it that it would be=20 =0A#restore -i -f =A0 or=20 #restore -i =0AThen use 'ls' and 'cd' to find the file you want. =0A =0AIn the "restore > : prompt you can=20 =0A"add " =0Ato add it to the restore list.=A0 Works with folders, too. =0A =0A"extract" =0Ato finally pull those out. =0A YMMV, so read the docs. I would suspect the Mac has similar options, though= can't confirm that at the moment. -Rich =0A=0A =20 =0A =0A=0A =0A =0A=0A=0A