Is it safe to use --scale with Duplicati and Docker Compose?

Hi,

I am wanting to scale the instances of Duplicati with the --scale switch for the docker-compose up command.

Ideally I would like 3-5 instances running for better parallelisation of large backup jobs that run hourly.

My biggest concern is database corruption if 2 instances try to run the same backup job.

Is this safe? and if not, is there a better way to achieve this?

Thank you!

Hello and welcome.

No, you cannot run multiple instances of Duplicati that work on the same underlying database. It was not built for horizontal scaling.

Great, thank you for the advice. I assumed this would be the answer but wanted to confirm. :slight_smile: