Yes. I have a lot of clients installed with duplicati and want to setup e-mail logging for them. Instead of touching each computer, is there a way to script the settings into the already setup duplicati user?
Sorry I didn’t know how to go about explaining it.
If you had an already set up --run-script-before process you might have been able to set environment variables in that script which would then be used by Duplicati… but if it’s not already set up it doesn’t do you any good.
Of course I’m assuming you’re using the Duplicati scheduler to run the jobs. If you are using the OS scheduler to run a command line backup then things might be different…
I am aware of a third party tool under development (by @Pectojin) that MIGHT be able to do what you need, but I’m not sure if it can handle email settings or if it’s ready to be “in the wild” yet.
I suppose I should mention that it’s probably possible to have a script update the .sqlite file in which I believe the job information is stored, however I suspect it would take longer to write that script than to manually update the individual machines.
Currently it’s editing capabilities are pretty limited, so it can be done for each computer but it basically requires exporting the job on each machine and then adding the email arguments before uploading settings file
With that being said I hope to eventually make it possible to just change one or two settings without having to do all that work.