Ideally a REST interface would allow to trigger download of a Dump.
GET dump would return the URL and then it would be possible to programmatically handle the Dump and load the Dump.