I'm proposing adding an API endpoint for the export tool. This would allow API consumers to export bib records, auth records, DB backups, and conf backups - if appropriately configured.
(A goal would be to have the export.pl webpage use the API endpoint as well, which would allow us to stop running it in CGI mode and negate the need for bug 26791.)