Restore over network

Hi again! :wave:

I was trying to implement a file restore wrapper, which I initially thought using dump command. The idea was just to pipe the stream into an arbitrary target host (which might not have direct access to the repo) via scp or something.

Then I realized there is a bug in dump command currently. So I’d like to ask, is there any “tricks” that I can directly stream a backup via? As I understand restore command can only restore into a directory (which I am also planning to test with a remote mount with something like sshfs) but maybe there is something else I can use…

Thanks for any hints.