Duplicacy cli and duplicacy web

I’m hoping to find the web ui and cli can be used interchangeably, reading the same configuration (storage, backup, schedule). I’ve looked at this post duplicacy-quick-start-cli but I get different results. For example:

./duplicacy_linux_x64_2.5.2 list
Failed to read the preference file from repository /tmp: open /tmp/.duplicacy/preferences: no such file or directory

Did I overlook something that explains the ‘preferences’ file and/or how to use prefs and configuration already in ~/.duplicacy-web

It’d be fantastic if I could use ui and cli seamlessly.

3 Likes

With some further testing I’m able to use the cli successfully but still unable to see configurations created from cli to/from web ui. Can anyone confirm? Does one have to use one or the other?

You just need to cd to the repository directory and run the CLI from there. The repository directory for backups is ~/.duplicacy-web/repositories/localhost/n where n is the index of the backup, and ~/.duplicacy-web/repositories/localhost/all for other commands.