CRUD API Documentation: dump.php

The dump.php interface is for creating a mysqldump (backup) of a database on the SQL.

The interface is called using a simple HTTP GET with a URL in one of the following formats:

https://crud.coreth.com/database/dump.php
https://crud.coreth.com/dump.php?db=database

Where database is the name of the database to be dumped.

The user will be prompted for authentication, and a valid SQL username and password with appropriate access to the database should be provided. Then the dump data will be returned with a content disposition that triggers a local file save.

NOTE: This interface currently assumes a default database server name. In future versions, dump.php will search for a table configuration and glean the database server name from that, or use the default if not found.

NOTE: There is currently no provision to validate the SQL credentials. This should be corrected.