Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 15:05:55 +0100
From:      Chris Rees <utisoft@googlemail.com>
To:        Chris Maness <chris@chrismaness.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Dump/Restore?
Message-ID:  <b79ecaef0909140705o6fc971ecjeb720bae754c44d5@mail.gmail.com>
In-Reply-To: <4AAE39E8.8080302@chrismaness.com>
References:  <0016e6d7ea7bc68d970473840acb@google.com> <4AAE39E8.8080302@chrismaness.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/9/14 Chris Maness <chris@chrismaness.com>:
> utisoft@googlemail.com wrote:
>>
>> On 14 Sep 2009 02:50, Chris Maness <chris@chrismaness.com> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef0909140705o6fc971ecjeb720bae754c44d5>