3.1.10. Create server backup

 
MethodURIDescription
POST/v2/{tenant_id}/servers/{server_id}/action

Backs up a server instance.

Normal response codes: 202

 3.1.10.1. Request

This table shows the URI parameters for the create server backup request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{server_id}

​U​U​ID

The UUID for the server of interest to you.

 

Example 3.19. Create server backup: JSON request

{
    "createBackup": {
        "name": "Backup 1",
        "backup_type": "daily",
        "rotation": 1
    }
}

 

Example 3.20. Create server backup: XML request

<?xml version="1.0" encoding="UTF-8"?>
    <createBackup>
        <name>Backup 1</name>
        <backup_type>daily</backup_type>
        <rotation>1</rotation>
    </createBackup>

This operation does not require a request body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...