Duplicacy docker-compose resource

Currently reading
Duplicacy docker-compose resource

Telos

Subscriber
3,788
1,297
NAS
DS4l8play, DS202j, DS3623xs+, DSM 7.3.3-25847
Last edited:
I'm a fan of Duplicacy for backups, as it is robust and well-supported and has an active forum. While it is freely available as a command-line tool, it offers a WebGUI dashboard to monitor backups. I prefer it over Hyper Backup (apart from package backups). It is not Synology-dependent, and is useable across Linux, MacOS, and Windows platforms.

I run Duplicacy Web Edition on the NAS and Duplicacy (command-line) on my Win machines.

However... DSM updates break the web edition, requiring me to re-enter my backup settings... not something I enjoy.

To circumvent that, and the expected breakage that DSM7 is likely to cause (a la Plex), I set up a Docker instance. For those interested in a docker-compose yml, I offer:

version: '2.1' services: duplicacy-web: image: saspus/duplicacy-web:mini network_mode: "bridge" container_name: duplicacy-web hostname: myduplicacyhostname environment: - USR_ID=1000 - GRP_ID=1000 - TZ=America/Smallville - DUPLICACY_WEB_VERSION=Stable ports: - 3875:3875/tcp volumes: - /volume1/docker/duplicacy/config:/config - /volume1/docker/duplicacy/logs:/logs - /volume1/docker/duplicacy/cache:/cache - /volume1/folder1:/data/folder1 - /volume1/folder2:/data/folder2 restart: unless-stopped

Where folder1/folder2 are folders that will be backed up, and 'myduplicacyhostname' is a unique license identifier.
I hope you find this worth testing.

Save your edited yml file in the /volume1/docker/duplicacy folder. Then SSH into the NAS as root (sudo -i) and

cd /volume1/docker/duplicacy ... then

docker-compose -f duplicacy.yml up -d

That's it!
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

I don't have the step by step config you're after, but can tell you that you can SSH into a docker...
Replies
1
Views
324
Use bind volumes, and the CM Project feature. Hyper Backup can then backup the volumes, and with a copy of...
Replies
2
Views
296
Those are two different layers: one is the management ui to perform actions on the api. the other is the...
Replies
12
Views
530
Thanks for your replies, but I found the solution: I had to allow port 8083 in the firewall.
Replies
5
Views
483
Thank you for this - I'll give it a go and see where I get - worst case I learn something as I go!
Replies
6
Views
575
I have no idea what you are doing, but I just tested it based on the instructions of the guide you linked...
Replies
11
Views
1,348
Of course you can, and indeed as @Rusty already advised Gluetun is the way to go. I use it without issues...
Replies
5
Views
670

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top