Hi
First-time poster. Recently bought Duplicacy, tried the free trial for a while and it is fantastic. I got it uploading to my remote storage and am a few days in with a few weeks remaining (slow internet connection… welcome to Australia!)
Now that one of my smaller snapshots has finally finished, I of course wanted to do a test restore. However, that’s when I discovered my mistake: I had opted for the RSA key with a passphrase… one that contains spaces.
Firstly, during the restore it simply errored out because I hadn’t provided the key at all. There are no UI controls to supply the key, so indeed I had not.
Secondly, after figuring out the CLI arguments to provide the passphrase, I tried adding them in the “Options” field in the UI.
This also failed. It appears a lot like it simply can’t handle the spaces in the passphrase.
I tried using double quotes, single quotes, nested double/single quotes in various combination, I tried replacing the spaces with and %20 and + but without success.
It appears I simply cannot restore from the UI at all, due to the RSA key and passphrase that I have chosen.
Is there any workaround for this, within the UI?
Of course, the CLI itself is a workaround! And I realise that this is my own fault for not testing restores before I had committed quite so much time to my initial backups. Maybe then I would have simply chosen a passphrase that didn’t include spaces.
But I really like the UI in every other respect, and would largely prefer to use it for casual restores. (I’d probably use the CLI if I was recovering an entire snapshot after total system failure… but if I’ve just accidentally damaged a file and want to get back to an older version, the UI is preferable).
If there’s not, I’d propose that providing dedicated UI fields for RSA key and passphrase provision would be a nearly essential feature for the UI Restore tool.
Another small issue: during my various failed attempts, Duplicacy DID create some zero-byte files at the path I was trying to restore to, which caused future attempts to fail before they even got to the RSA decryption stage because they wouldn’t overwrite an existing file, even though it was empty. Feels like if Duplicacy restore fails due to RSA issues, it should not leave a zero-byte file behind.
Thanks,
– neverness