Hi all.

I've taken my cue from Brian and his efforts to provide a backup over an SMB
share.  I'm trying to backup my Windows data to my Linux server.  I've got
the SMB parts working right but am having some troubles with TAR.

When I enter this command:

tar -cvzf /backup/win.tar /root/peon/

everything works fine.  However, there's a few large folders that I do not
want to backup (Linux ISOs for instance).  So, I'm trying to tell tar to
exclude those files like so:

tar -cvzf /backup/win.tar /root/peon/ --exclude-from
/root/cron/bkup_cfg/win_exclude

and my win_exclude file contains:
'*/Internet/*'

The problem is that the moment I include the exclude-from option, tar
refuses to run.  I don't get any errors though.  So, suspect my usage of the
exclude-from option is wrong (though this seems fine based on what the man
pages tell me, and what info I could find online), or the contents of my
win_exclude file is wrong.  I read the details at
http://www.gnu.org/software/tar/manual/html_mono/tar.html#SEC90, and the
section below that one, and it seems I'm trying to do things right.

Can any tar guru's shed some light on this?  In particular, I want to grab
everything on the share point, but ignore certain folders.

Thanks.

Shawn


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to