I doubt that supplying arguments is possible, but in most circumstances there is no need for trhis.
All settings are stored in environment variables, the name is the setting, preceeded with DUPLICATI__ (double underscore). and all hyphens are replaced with underscores. So if you need the backup name in the script, it is stored in environment variable DUPLICATI__BACKUP_NAME. Example scripts are here and here
I don’t think so. I was doing a script for mounting a windows shared resource, the arguments are remote host, resource, etc. The origin of this feature is ahother report: SMB windows directory as source data
With this non-feature I sould make an script for each backup.
I see. That info can’t be supplied to the script by Duplicati itself.
Can’t you set the source paths by simply adding UNC paths, like \\HOSTNAME\Share? That would make running a script unnecassary and more reliable.
My knowledge about Linux is ~0.
Maybe this can help you:
Duplicati help text:
Duplicati can use the local file system to store backups. The following target
URL formats can be used:
file://\\server\folder%20for%20backup (UNC path)
"C:\folder for backup"
Maybe one of the suggestions in this thread work for you: