Peter Arremann wrote: ...
Anyway, you can use the -X option in tar, point it to a file that contains all unwanted directories... /var/spool /var/cache /var/lock /var/tmp are probably some others you won't need on most boxes...
/var/spool/mail contains unread mails on a mailserver, not the best candidate for the -X option...
/var/cache/samba contains important information for samba, at least if it runs as a domain controller. Not a good candidate either.
Mogens