Help with logging on Duplicacy container

I’ve been running backups on a Synology NAS using this script:

duplicacy -log backup -storage b2_music -stats -threads 2 > /volume1/Duplicacy/logs/alpha_music_bkup_$(date +\%Y\%m\%d-\%H\%M\%S).log 2>&1
exit

I’ve moved to the GUI, but can’t figure out the options string that works. I tried:
`-stats > /logs/alpha_music_bkup_$(date +%Y%m%d-%H%M%S).log
but that fails with “Invalid options”.

FWIW I’ve mapped the volume:
- /volume1/docker/duplicacy/logs:/logs:rw

I’m sytmied.

How do

The “>” and everything after is not an option to duplicacy. Duplicacy_web executes duplicacy CLI directly, not in the shell. And it does not do any shell expansions either.

What are you trying to accomplish? Duplicacy web already manages logs, emailing notifications, etc.

Separate question: why did you move to gui if you already have everything setup and working?