I’m currently backing up a database and some corresponding files by running
mysqldump ... | restic backup --stdin
restic backup /some/files
This works, but creates two separate snapshots. I’d like to have the DB dump and the files in the same snapshot, as they belong together logically.
mysqldump ... | restic backup --stdin /some/files
I get the following error:
Fatal: --stdin was specified and files/dirs were listed as arguments
Is there a way to achieve this with restic version 0.9.6 or would this be a new feature?