now a dump question (was Re: tar question...)

Tim Wunder tim
Mon May 17 11:47:08 PDT 2004


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.

BTW, this is on a RHL 7.0 server.

Thanks, 
Tim

-- 
RedHat Psyche 8.0, stock kernel, KDE 3.1.CVS, Xfree86 4.2.1
 11:20pm  up 7 days,  1:14,  3 users,  load average: 0.22, 0.59, 0.35
It's what you learn after you know it all that counts



More information about the Linux-users mailing list