Skip to main content
Skip table of contents

List of backups

List of backups

GET api/admin/v1/backup
200 OK

Successful response

JSON
[
    {
        "name": "schema_vms.dump",
        "size": 101136
    },
    {
        "name": "data_vms.gz",
        "size": 8699084
    },
    {
        "name": "schema_dhcp.dump",
        "size": 124
    },
    {
        "name": "data_dhcp.gz",
        "size": 132
    },
    {
        "name": "triggers_dhcp.dump",
        "size": 127
    }
]
401 Unauthorized

Authorization token is not provided or is invalid. Obtaining a token

cURL
BASH
curl -k --request POST \
	--url 'https://your-domainapi/admin/v1/backup' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '[]'
PHP
PHP
$data = array (
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'GET',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domainapi/admin/v1/backup', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.