Two rudimentary questions RE duplicacy_web on Synology Linux

I dug through the forum stacks but didn’t see anything that appeared to cover this.

Use case: Duplicacy Web installed on DSM 7 via the spk.

Questions:

  • How can I stop / start / restart the web_ui daemon from the command line?
  • What’s the cleanest way to execute Duplicacy from the command line making sure that I am using the the proper config files, privileges, etc in order to achieve - more or less - the same results as the Duplicacy daemon?

Thanks in advance

You can control the web_ui just like any other packages. Here is a guide: https://community.synology.com/enu/forum/1/post/149358

You can cd into /tmp/duplicacy/repositories/localhost/n and run the command line from there, where n is the index of the backup on the Backup page. You’ll need to switch to the user account that runs the duplicacy package using sudo.

Thanks @gchen

I do see the index directories but am unclear how to map those to a specific backup.

Screen Shot 2022-07-11 at 6.20.53 AM

Here’s a script that may help: https://forum.duplicacy.com/t/bash-script-to-create-links-to-web-ui-1-5-0-repositories/5959?u=gorlen

Thanks @gorlen

I believe you’ve provided the answer which is that the repository # can be found in the duplicacy.json file. Luckily, I’m only working with a single repository at the moment. I created and then deleted a few other repository records simply to archive some content in the storages. But I’ll keep this script handy if/when the need arises.

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