Would be nice to mention in Init command details that -e has to be provided even if I want to restore from a remote repository. For instance if I was trying to restore from an encrypted repository in an SFTP:
duplicacy init test sftp://user@someremotelocation.com//mnt/Backup/duplicacy-backup
this command would fail telling:
Failed to download the configuration file from the storage: The storage is likely to have been initialized with a password before
By providing the -e switch, and before setting the correct password with
export DUPLICACY_PASSWORD
duplicacy init test sftp://user@someremotelocation.com//mnt/Backup/duplicacy-backup -e
The repository was correctly initialized and I was able to restore a revision.