Dump to stdout so I can pipe through ssh

The -t option to toolbox dump is required, so it seems it is not possible to use stdout to redirect to file, or for instance pipe through gzip and then ssh…

I see that target is a directory. Perhaps you could add an option to output tar to stdout…

Perhaps this belongs in Features

http://www.gnu.org/software/tar/manual/html_node/Writing-to-Standard-Output.html

Good point indeed - Used to love that feature in postgres!
Let’s see what we can do :slight_smile:

Yes, we can probably write a TarArchiveOutputStream to sdout, it should work - as long as we silence other logging when selecting this option :smile:

We added this task to our backlog. ETA 6.5.

I’ve been thinking about this - since the toolbox client is actually remote, this would imply that the whole dump is piped over http?

Will this be an adequate solution?