As the merge command is implemented (but not yet released), you can now use:
rustic backup /path1 /path2 # gives snapshot abc
mysqldump ... | rustic backup - # gives snapshot def
rustic merge abc def --delete # gives final snapshot and deletes the two tmp snapshots
Note that all commands support the --json flag.