Date: Mon, 14 Sep 2009 05:45:01 -0700 (PDT) From: Richard Mahlerwein <mahlerrd@yahoo.com> To: freebsd-questions@freebsd.org, Chris Maness <chris@chrismaness.com> Subject: Re: Dump/Restore? Message-ID: <302285.41141.qm@web51010.mail.re2.yahoo.com> In-Reply-To: <b2e0a4330909131850g134b21bx13e0b53816bedf70@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- On Sun, 9/13/09, Chris Maness <chris@chrismaness.com> wrote: >From: Chris Maness <chris@chrismaness.com> =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 <chris@chrismaness.com> 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 <file> =A0 or=20 #restore -i <device> =0AThen use 'ls' and 'cd' to find the file you want. =0A =0AIn the "restore > : prompt you can=20 =0A"add <filename>" =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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?302285.41141.qm>