Hi @matt you can already achieve this in at least two ways:
-
Mount the restic repo at a file system with
restic mount
and then zip up the snapshot folder you want, with any filters you want, to a zip file. -
Mount a zip file as a fuse filesystem and then restore with restic into that flle system. Unmount the filesystem when finished and you have the zip file. (https://bitbucket.org/agalanin/fuse-zip)
Both method avoid ever restoring all the files to a real local file system that takes up space. In both cases the files go straight to a zip.
If you want to stream the zip file directly out of restic to e.g. some sftp location, then you will still need to cut some code I think.