Hello,
a forwarded bug:
"excluding directories during tarmode transfer does not work.
The following example command line was generated by backuppc:
/usr/bin/smbclient \\\\host\\share -U user -E -N -d 1 \
-c tarmode\ full -TcrX - NOBACKUP
Here 'NOBACKUP' is the directory I want to exclude from the backup - but
I couldn't find any syntax that would actually exclude the NOBACKUP
directory. Tried with 'NOBACKUP', '/NOBACKUP', 'NOBACKUP/',
'/NOBACKUP/', 'nobackup', ...
"
I can reproduce this using this:
smbclient //localhost/noel -U noel -d2 -c tarmode\ full -TXcr backup.tar NOBACKUPDIR
The NOBACKUPDIR is included in the backup.tar.
smbclient(1) says in the tar examples:
Restore everything except users/docs
smbclient //mypc/myshare "" -N -TXx backup.tar users/docs
So it should work AFAIK.
thx.
noel@d.o