api.node.backup

/node/(hostname)/define/backup

api.node.backup.views.node_vm_define_backup_list(*args, **kwargs)

List (GET) all backup definitions targeted onto a specific backup node.

GET /node/(hostname)/define/backup
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
  • data.full (boolean) – Return list of objects with all backup definition details (default: false)
  • data.extended (boolean) – Include total number of backups for each backup definition (default: false)
  • data.order_by (string) – Available fields for sorting: name, disk_id, hostname, created (default: hostname,-created)
Status Codes:

/node/(hostname)/backup

api.node.backup.views.node_vm_backup_list(*args, **kwargs)

List (GET) all VM backups on a compute node.

GET /node/(hostname)/backup
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
  • data.full (boolean) – Return list of objects with all backup details (default: false)
  • data.disk_id (integer) – Filter by original disk number/ID
  • data.vm (string) – Filter by original server hostname
  • data.define (string) – Filter by backup definition
  • data.order_by (string) – Available fields for sorting: name, disk_id, hostname, size, time, created (default: -created)
Status Codes:

es example:

es get /vm/node99.erigones.com/backup
{
    "url": "https://my.erigones.com/api/node/node99.erigones.com/backup/",
    "status": 200,
    "method": "GET",
    "text": {
        "status": "SUCCESS",
        "result": [
            {
                "status": 1,
                "name": "daily-20131014_133701",
                "created": "2013-10-14T13:37:01.123Z",
                "hostname": "example.cust.erigones.com",
                "disk_id": 1,
                "note": "",
                "node": "node99.erigones.com",
                "size": 41843149,
                "time": 1337,
                "define": "daily"
            }
        ],
        "task_id": "0-6a75b49b-e63b-4a45-4ffa"
    }
}