Hi,
Could anyone please supply some information on how to configure the CLI_ARGS environmental variable? I am trying to initiate a backup (which has already been created and configured via the webui) via a script run as a cron job.
Thanks
Hi,
Could anyone please supply some information on how to configure the CLI_ARGS environmental variable? I am trying to initiate a backup (which has already been created and configured via the webui) via a script run as a cron job.
Thanks
you may need to clarify a bit moreā¦ the cli_args var just expects any supported cli argument duplicati supports, for example
--server-datafolder=/root/.config/Duplicati
(dont actually use this, you will break things, this is just the first example i saw in their documentation)
Does the variable need to be populated for me to be able to use the CLI?
From within the container I have run:
duplicati-cli backup
But I get:
bash: duplicati-cli: command not found
Am I going about this in the wrong way?
Apologies, I think it is working now. I needed to use /app/duplicati/duplicati-cli rather than just duplicati-cli.