now a dump question (was Re: tar question...)
Net Llama!
netllama
Mon May 17 11:47:08 PDT 2004
On Mon, 5 May 2003, Tim Wunder wrote:
> On Monday 05 May 2003 9:55 am, someone claiming to be Net Llama! wrote:
> > On Mon, 5 May 2003, Tim Wunder wrote:
> > > I want to tar -zcvf all the data in /home, except what's contained in
> > > /home/<somedir>. Any ideas how to do that?
> >
> > tar has an --exclude switch. Check the man page.
>
> Hmmm... missed that. Thanks.
>
> I'm also trying to understand dump a little better. I have this in a backup
> script:
> /sbin/dump 0uBf 10000000 /dev/st0 /home
> Which is supposed to dump the /home partition (/dev/sda5) to tape. Well, my
> disk usage on /home is at or near the uncompressed capacity of my tape drive,
> so I started reading thru the dump man page, and it looks like you can
> compress the dump. Based on what I read, I thought I just needed to add a "z"
> in there, like so:
> /sbin/dump 0uzBf 10000000 /dev/st0 /home
> But this doesn't seem to work for me. Is there anything obviously wrong there?
> I'm gonna be using tar for the backup for the time being, but it seems to be
> alot easier to restore individual files using dump/restore. So I'd like to
> get a functional compressed dump.
I think this might be dependent on the type of tape drive that you're
using. I have this vague memory that some tape drives are incapable of
handling compressed dumps on the fly.
> BTW, this is on a RHL 7.0 server.
eewwww.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list