This isn’t anything critical - I’m just playing around with learning Duplicati and thought I’d try running a repair command (via the GUI) on an existing small test Webdav backup and ended up getting the following message:
Found 2 commands but expected 1, commands:
"webdavs://mysubdomain.myserver.com:12345//remote.php/webdav/_Backups/Duplicati?auth-username=Me&auth-password=mypassword&accept-specified-ssl-hash=MyMagicHash"
"C:\TestBackupFiles\"
Return code: 200
I tried again with an SSH based one and got basically the same message:
Found 2 commands but expected 1, commands:
"ssh://mysubdomain.myserver.com:12345//mnt/user/Backups/Duplicati?auth-username=Me&auth-password=mypassword&ssh-fingerprint=ssh-rsa%MymagicHash"
"C:\TestBackupFiles\"
Return code: 200
Is this a bug or am I not understanding the message correctly?
I think it’s a bug in GUI.
I have found a workaround for it.
Start to the command line from GUI, select repair command and remove value from CommandLine argument. Just make it clean.
The problem here is that the UI is set up to run the backup command. When you choose another command, it just keeps everything “as-is”, which is perhaps not the most logical thing to do, as it is very likely to not work.