Hi, after any backup, I’d like to instantly backup the duplicata database folder. So I found -run-script-after. I wish I could chain another backup job here. Not possible.
So I took the command line of the “Backup Databases” backup set. Does not works, -run-script-after does not loke complex command lines.
I put the command line into file U:\Duplicati_BackupDBs.cmd - it will not be started at all.
My suggestions:
-run-script-after should (at least nice to have) parse and understand complete command lines with commands, hyphens, spaces, arguments.
duplicati command line backup should be able to call an existing backup set by its name.
Paste that export into a text editor (I like Notepad++) and save it as a “C:_DuplicatiTest\Duplicati_BackupDBs.bat” batch file
Added a --run-script-after setting of C:\_DuplicatiTest\Duplicati_BackupDBs.bat
Verfied it ran by using the Restore option of my “Duplicati_BackupDBs” job to check see restorable backup times in line with my “primary” backup job run times.
Please let me know if the above works but still doesn’t do what you need and we can look at moving this over to the Features category for more discussion.
If you get a chance, please click the box under the post that resolved your issue - which in this case would likely be your own. This helps other users with similar issues know this is a post worth ready. Thanks!