Correct me if I’m wrong, but the Dropbox backend is impossible to use right now because there is no way to get a proper refresh token.
As detailed in Dropbox: token expiring and not being refreshed, the Dropbox Token for Duplicacy page produces a short-lived authorization token, not a long-lived refresh token. The CLI tool expects a refresh token so this doesn’t work. There is no way for me to modify this to generate a refresh token because I don’t have Duplicacy’s client secret (the secret for the Duplicacy app on the Dropbox API).
The documentation Supported storage backends says that I can use my own Dropbox API app to generate a token. I can generate a refresh token in this way, but Duplicacy doesn’t accept it (I get “No access token returned”), probably because the API it’s hitting https://duplicacy.com/dropbox_refresh is using the Duplicacy app’s client ID and secret.
@gchen is there any workaround? Or is it impossible to use Dropbox with Duplicacy? @prestonhunt how were you able to get this working? Did you recompile Duplicacy and replace the dropbox_refresh API with your own endpoint?