Hello,
I've got troubles on excluding files/dir. while backuping a network
share with samba (use of smbclient).
After some tests, I found that tar options of smbclient does not work
for me:(
For instance the following command backups my machine, but exclusions
(/I386, /RECYCLER, /Program\ Files) are not take into consideration
(these exlcusions are backuped anyway):
smbclient \\\\grog\\c\$ -U backup_user -E -N -d 1 -c tarmode\ full
-TcrX - /I386 /RECYCLER /Program\ Files
This is the option "-TcrX" that does not work, especially the "r" flag.
No one has the same troubles with it ?
I think my software platform (solaris 7, packages from the NetBSD
package system) can be the cause of that trouble. Samba version is 2.2.5.
Does people with other software environnment (Linux, *BSD) have the same
problems ?
For information:
- the smbclient man page indicates that this flag "r" is required only
for "extended" regular expressions for inclusions/exclusions, and is
not required for basic ones, the ones that contain "*" or "?" as wildcards.
- According to comments of the (main) config.pl file, nothing about
"extended" regex in inclusions/exclusion expression(s), just talking
about "*" and "?"
So,the $X_option should contain (basically) only "X" instead of "rX" (in
file backupPC/lib/BackupPC/Xfer/Smb.pm), and config.pl should offer the
possibility to add the "r" flag if needed ?
Or perhaps the comments about include/exclude files/dirs in config.pl
should be updated.
Regards,
Pierre Bourgin
ps: the solution for me is to redefine the values of
$Conf{SmbClientFullCmd} and $Conf{SmbClientIncrCmd} in config.pl
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
