-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for 3 bugs in amsamba #48
Comments
Using: For: |
martineau, i'm not a developer and the double "$line = About the "$comm .= "rX";" where a simple resolution for a problem that i saw a lot of people reported (exclude does not works). |
martineau, u were right about the the double "$line =~". |
About the line: I do not like to match any number of digit, is it always 3 digits? or anything between 1 and 3? |
martineau, |
I committed a fix The smbclient man page say that 'r' can be very slow. it is enabled only with a property. I have no setup to try amsamba, can you try the committed patch? |
Using this SAMBA mod https://bitbucket.org/knarf/samba/get/gsoc_clitar_libarchive.tar.bz2 exclude will work. More info: http://diobla.info/doc/gsoc13/journal I tested with amanda 3.3.5 and RHEL6 and had to change only this in amanda:
|
Fix a problem when try to restore files in SMB mode with non ascii characters (like áàâãäåāăąèééêëēĕėęěìíîïìĩīĭḩóôõöōŏőùúûüũūŭůäàáâãåæçćĉčöòóôõøüùúûßéèêëýñîìíïş).
Fix a problem when try to exclude files in dumptype, it makes possible to use WILD Cards ? and *, need smbclient compiled with HAVE_REGEX_H.
Fix problem like this one:
Unmatched ( in regex; marked by <-- HERE in m/NT_STATUS_OK opening remote file design_grafico_17a_legislatura - deputadosdep_carlosantonio??3CT VISITADOSmosaico.ai ( <-- HERE design_grafico_17a_legislatura - deputadosdep_carlosantonio??3CT VISITADOS)/ at /usr/libexec/amanda/application/amsamba line 743, line 4.]
Slashes need to be escaped to avoid \ to make part of a regex, like \2013 to be understood as octal followed by a "3".
After this fix look the real smbclient line for the error above:
NT_STATUS_OK opening remote file \design_grafico_17a_legislatura - deputados\dep_carlosantonio\2013\CT VISITADOS\mosaico.ai (\design_grafico_17a_legislatura - deputados\dep_carlosantonio\2013\CT VISITADOS)
The text was updated successfully, but these errors were encountered: