Here is the basic ideas how to use API calls to operate on backups

Currently, we have only 4 endpoints.


Sample cURLs:

After starting API server:

$ sudo `which autoxtrabackup` --run-server

Of course you can use the Web UI for taking backups, but in case you want to send requests, below I have provided sample cURLs.

Taking backup:

$ curl -X POST
{"result":"Successfully finished the backup process"}

Preparing backup:

$ curl -X POST
{"result":"Successfully prepared all the backups"}

Listing backups:

$ curl

Removing backups:

$ curl -X DELETE
{"result":"There is no backups or backups removed successfully"}