I’m still getting the Enter encryption passphrase: prompt, why?
I’m now looking at a mono process that has been taking up 100% of a CPU core for 30 minutes. This is a rather small test backup set (1.4GB). I’m also seeing no network traffic at all for this mono process.
Is this normal?
Note: I do not expect to find any broken file in this particular backup
Ahum. Notice those S3S3 strings? They should have been just S3 of course. In the example above, there is one continuation \ missing. This is the one I have now:
No certificates found, you can install some with one of these commands:
cert-sync /etc/ssl/certs/ca-certificates.crt #for Debian based systems
cert-sync /etc/pki/tls/certs/ca-bundle.crt #for RedHat derivatives
Read more: http://www.mono-project.com/docs/about-mono/releases/3.12.0/#cert-sync
The supplied option --auth-username is not supported and will be ignored
The supplied option --auth-password is not supported and will be ignored
The supplied option --s3-ext-forcepathstyle is not supported and will be ignored
No broken filesets found in database, checking for missing remote files
Backend not supported: https
I’ve found out there is an issue here: duplicati somehow wants URL-translated input on the command line. E.g. a + in a pass phrase has to be given as %2B on the command line when part of the s3 URL. And s3:storage-fqdn:port has to be given as storage-fqdn%3Aport because it is given as an argument of the URL.
I found out that the command line export for a backup set puts everything in the s3 URL as ?-subcommands and does this translation. If I use that command line construct, it works. But using --auth-username etc., it does not. I tried doing the URL-style translation as passphrase etc, but it doesn’t work.
So with an ACCESSKEY of SOMEPASSWORDWITHA+ and the S3 server being storage-fqdn:9000 I need this as command line element for the storage:
So, it seems --auth-username and such do not work properly if there is something in it that needs to to escaped for in an URL. That feels like a bug to me.
I would expect duplicati-cli command s3://storage-fqdn:9000/bucketname --auth-username="SOMEUSERNAME" --auth-password="SOMEPASSWORDWITHA+"
to work on the command line, but it doesn’t. Putting everything as it is done as the command line export works (with URL escapes for special characters), though.
If the updated library (e.g. in 2.0.4.5 beta) doesn’t take care of it, a Duplicati solution needs to make sure that encoding won’t be done twice by mistake for some use case. I don’t know the design or code well, or have S3.
To avoid this issue getting lost among old support requests, you could file it in Features category, or in Issues.