--exclude doesn't work

Hello everyone, I have a problem that I can’t solve. Duplicati fails to exclude some files that it fails to copy and in the end the backup fails. See error below. Why, despite inserting the line with the exclusions, these files are not excluded from the copy? How can I fix?

DeletedFiles: 3
DeletedFolders: 0
ModifiedFiles: 2
ExaminedFiles: 173452
OpenedFiles: 27
AddedFiles: 25
SizeOfModifiedFiles: 4051968
SizeOfAddedFiles: 22996752
SizeOfExaminedFiles: 208518314978
SizeOfOpenedFiles: 27048720
NotProcessedFiles: 0
AddedFolders: 0
TooLargeFiles: 0
FilesWithError: 0
ModifiedFolders: 0
ModifiedSymlinks: 0
AddedSymlinks: 0
DeletedSymlinks: 0
PartialBackup: False
Dryrun: False
MainOperation: Backup
ParsedResult: Warning
Version: 2.0.7.1 (2.0.7.1_beta_2023-05-25)
EndTime: 05/06/2023 17:49:59 (1685980199)
BeginTime: 05/06/2023 16:19:00 (1685974740)
Duration: 01:30:59.8290010
MessagesActualLength: 23
WarningsActualLength: 1220
ErrorsActualLength: 0
LimitedMessages: [
    2023-06-05 16:19:00 +02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: L'operazione Backup è iniziata,
    2023-06-05 16:19:24 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  (),
    2023-06-05 16:19:37 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (4,77 KB),
    2023-06-05 17:38:11 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-b7489174eaf244ec1a12bc0d490f1d91c.dblock.zip.aes (11,59 MB),
    2023-06-05 17:39:33 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-b7489174eaf244ec1a12bc0d490f1d91c.dblock.zip.aes (11,59 MB),
    2023-06-05 17:39:34 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-i33391337466140dca85a710967e42ad9.dindex.zip.aes (45,43 KB),
    2023-06-05 17:39:36 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-i33391337466140dca85a710967e42ad9.dindex.zip.aes (45,43 KB),
    2023-06-05 17:39:37 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-20230605T141900Z.dlist.zip.aes (17,96 MB),
    2023-06-05 17:41:42 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-20230605T141900Z.dlist.zip.aes (17,96 MB),
    2023-06-05 17:41:42 +02 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-StartCheck]: Start checking if backups can be removed,
...
]
LimitedWarnings: [
    2023-06-05 16:19:00 +02 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: L'opzione fornita --exclude non è supportata e sarà ignorata,
    2023-06-05 17:04:02 +02 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: \\NAS-CGV\Lavori CGV\CGV CLIENTI\PARCHEGGIO\Allacciamento fognatura\Disegni PGF\acaddoc.lsp,

Hello

The command line parser from Duplicati is not perfect, you may have triggered one of its limitations. However guessing which one is not obvious.

So please export the job as command line and paste the result here (masking your private stuff, you can replace by ‘XXX’ - or whatever you prefer - the backend’s name, password, etc) it would help to understand what you did.

Thanks for the reply.
I compiled as follows:

--send-mail-from=xxx
--send-mail-level=Warning,Error,Fatal,Success
--send-mail-password=xxx
--send-mail-subject=%backup-name% - %ParsedResult% | Rapporto %OPERATIONNAME%
--send-mail-to=xxx
--send-mail-url=xxx
--send-mail-username=xxx
--send-mail-body=%RESULT%
--number-of-retries=10
--exclude=*.lsp

I asked for ’ export the job as command line".
This is what ‘export as command line’ looks like:

mono /usr/lib/duplicati/Duplicati.CommandLine.exe backup "onedrivev2://test?authid=4a248951dc7c8ca3f9e0e7545r7144e%3Ak8YuQ5iO2W3Xs_5L-wA1T&oauth-url=https%3A%2F%2Fduplicati-oauth-handler.appspot.com%2Frefresh" /home/gp/Documents/titi/ --backup-name=test1drive --dbpath=/usr/lib/duplicati/data/FTHSRKQPGO.sqlite --encryption-module= --compression-module=zip --dblock-size=50mb --no-encryption=true --disable-module=console-password-input --exclude=/home/gp/Documents/titi/tutu.txt --exclude="*.lsp"

Does it look like what you posted ? No.
Do I wish you good luck in finding help ? Yes.
Bye.

See that you don’t need to get angry. You don’t have to help me if you don’t want to. In any case, I still appreciate your excellent help.
I sent you that because I don’t currently have the client’s PC at hand to do the export.
In the afternoon I should be able to do the export and I will publish it.
Thanks again.
Good day

This language confuses me. What are you inserting a line into, and what are you compiling?

Ordinarily one uses the Source screen Filters section dropdowns to add excludes, but since
the results are not always as expected, the three-dot-menu Edit as text is also available,
however that uses the syntax of a minus sign for exclude. What exactly are you showing by:

Or if need be, I suppose the Export As Command-line might say, if it fits the way you set up.
How did you set up, and what did you just post from, e.g. was it Commandline Edit as Text?
We’re trying to understand what you did. To me, the real trick was how you were able to get

2023-06-05 16:19:00 +02 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: L’opzione fornita --exclude non è supportata e sarà ignorata,

BTW, exclude pattern should looks rather this:

–exclude=“*.*lsp”

… this is produced by standard “export as command line” option, as mentioned earlier.

1 Like