Using the CLI to do a diff with a repo setup with the web GUI?

I want to see the difference between my latest backup revision and the files currently on my computer. (I’m running Linux, FWIW.)

I know that to use the CLI on a repo I set up using the web GUI, I have to change to the directory:

~/.duplicacy-web/repositories/localhost/all

I also know that in general you can do a diff with a repo (i.e. see the difference between the files currently on my computer and what’s in a given backup revision) by just giving the diff command one revision, e.g.:

duplicacy -id Backup-ID -r 3

But when I do that from within ~/.duplicacy-web/repositories/localhost/all, it lists every single file in the revision as missing locally. I’m guessing this is because the diff command is looking in the ~/.duplicacy-web/repositories/localhost/all for the files, and of course they aren’t there–they’re elsewhere on my computer, because the repository is elsewhere.

Is there some way to tell the diff command what base directory to use for the repository to do the diff against?

I think you should go to …repositories/localhost/<number> instead of all.

Verify in the .duplicacy/preferences files there if it lists path to the actual files.

Aha! This indeed solved my issue. Thank you!

Awesome! You can click the little checkmark under the post that solves the issue; it will then appear next to your answer and will benefit future readers who may be looking for a solution to the similar issue in the future. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.