During Backup
Pipe the output of multiple pg_dump to a tar process. Then, pipe the output of tar process to restic.
During Restore
Pipe the output of restic restore into a tar process that will split the stream on their own files. Then, pipe the output streams into multiple pg_restore command.
Possible Solution
During Backup Pipe the output of multiple pg_dump to a tar process. Then, pipe the output of tar process to restic.
During Restore Pipe the output of restic restore into a tar process that will split the stream on their own files. Then, pipe the output streams into multiple pg_restore command.
Meeting recording: https://youtu.be/s0G3XXfupIU