Cloud Backup

Use the Cloud Backup feed operations to get information about usage and system events for the Rackspace Cloud Backup service.

Get feed for Backup events

GET /backup/events/{tid}

This operation obtains the most recent events for this product's feed.

Request

The following table shows the header parameters for the request:

NameTypeDescription
ACCEPTAcceptheadertype (Required)Specifies the type of Accept header to be used in the request.

The following table shows the URI parameters for the request:

NameTypeDescription
{tid}StringSpecifies the tenant Id.

The following table shows the query parameters for the request:

NameTypeDescription
markerAnyuri (Optional)Specifies the entry from which the feed is read. If no value is specified, forward is used by default.
limitInt (Optional)Specifies the number of entries to return. By default the limit is set to 25. The minimum limit is 1 and the maximum limit is 1,000.
directionString (Optional)Valid values for this parameter are either backward or forward.

This operation does not accept a request body.

Response

The following table shows the possible response codes for this
operation.

Response CodeNameDescription
200OKThe request succeeded.
400Bad RequestThe request is missing one or more elements, or the values of some elements are invalid.
401UnauthorizedAuthentication failed, or the user does not have permissions for a requested operation.
404Not FoundThe requested resource was not found.
429Rate LimitedToo many requests. Wait and retry.
500Internal Server ErrorThe server encountered an unexpected condition which prevented it from fulfilling the request.
503Service UnavailableService is not available. Try again later.

Get Backup event by ID

GET /backup/events/{tid}/entries/{id}

This http request fetches one particular event whose ID is listed in the
URI.

Request

The following table shows the header parameters for the request:

NameTypeDescription
ACCEPTAcceptheadertype (Required)

The following table shows the URI parameters for the request:

NameTypeDescription
{tid}StringSpecifies the tenant Id.
{id}Anyuri<urn:uuid:676f3860-447c-> 40a3-8f61-9791819cc82f

This operation does not accept a request body.

Message samples

The following examples show the XML and JSON messages for each event
message type.

Inbound bandwidth event message, v1

Specifies usage information for the inbound Cloud Backup bandwidth,
version 1.

The following table describes attributes for the event message.

Attribute NameDescriptionTypeOptionality
bandwidthInSpecifies the amount of inbound bandwidth, in bytes.unsignedLongRequired
serverIDSpecifies the Id of the server where the agent is installed.int UUIDRequired

XML Sample

<?xml version="1.0"?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.rackspace.com/core/event" xmlns:cb-bin="http://docs.rackspace.com/usage/cloudbackup/bandwidthIn">
   <atom:id> urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89 </atom:id>
   <atom:category term="tid:1234"/>
   <atom:category term="rgn:DFW"/>
   <atom:category term="dc:DFW1"/>
   <atom:category term="rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"/>
   <atom:category term="cloudbackup.bandwidthIn.agent.usage"/>
   <atom:category term="type:cloudbackup.bandwidthIn.agent.usage"/>
   <atom:content type="application/xml">
      <event dataCenter="DFW1" endTime="2012-06-15T10:19:52Z" environment="PROD" id="8d89673c-c989-11e1-895a-0b3d632a8a89" region="DFW" resourceId="3863d42a-ec9a-11e1-8e12-df8baa3ca440" startTime="2012-06-14T10:19:52Z" tenantId="1234" type="USAGE" version="1">
         <cb-bin:product bandwidthIn="192998" resourceType="AGENT" serverID="944576fa-ec99-11e1-bb8e-ebb21b47fa86" serviceCode="CloudBackup" version="1"/>
      </event>
   </atom:content>
   <atom:link href="https://ord.feeds.api.rackspacecloud.com/backup/events/entries/urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89" rel="self"/>
   <atom:updated> 2013-02-28T19:28:57.758Z </atom:updated>
   <atom:published> 2013-02-28T19:28:57.758Z </atom:published>
</atom:entry>

JSON Sample

{
   "entry": {
      "@type": "http:\/\/www.w3.org\/2005\/Atom",
      "category": [
         {
            "term": "tid:1234"
         },
         {
            "term": "rgn:DFW"
         },
         {
            "term": "dc:DFW1"
         },
         {
            "term": "rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"
         },
         {
            "term": "cloudbackup.bandwidthIn.agent.usage"
         },
         {
            "term": "type:cloudbackup.bandwidthIn.agent.usage"
         }
      ],
      "content": {
         "event": {
            "@type": "http:\/\/docs.rackspace.com\/core\/event",
            "dataCenter": "DFW1",
            "endTime": "2012-06-15T10:19:52Z",
            "environment": "PROD",
            "id": "8d89673c-c989-11e1-895a-0b3d632a8a89",
            "product": {
               "@type": "http:\/\/docs.rackspace.com\/usage\/cloudbackup\/bandwidthIn",
               "bandwidthIn": 192998,
               "resourceType": "AGENT",
               "serverID": "944576fa-ec99-11e1-bb8e-ebb21b47fa86",
               "serviceCode": "CloudBackup",
               "version": "1"
            },
            "region": "DFW",
            "resourceId": "3863d42a-ec9a-11e1-8e12-df8baa3ca440",
            "startTime": "2012-06-14T10:19:52Z",
            "tenantId": "1234",
            "type": "USAGE",
            "version": "1"
         }
      },
      "id": "urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89",
      "link": [
         {
            "href": "https:\/\/ord.feeds.api.rackspacecloud.com\/backup\/events\/entries\/urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89",
            "rel": "self"
         }
      ],
      "published": "2013-02-28T19:28:57.758Z",
      "updated": "2013-02-28T19:28:57.758Z"
   }
}

Outbound bandwidth usage event message, v1

Specifies the usage information for the outbound Cloud Backup bandwidth,
version 1.

The following table describes attributes for the event message.

Attribute NameDescriptionTypeOptionality
bandwidthOutSpecifies the amount of outbound bandwidth, in bytes.unsignedLongRequired
serverIDSpecifies the Id of the server where the agent is installed.int UUIDRequired

XML Sample

<?xml version="1.0"?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.rackspace.com/core/event" xmlns:cb-bout="http://docs.rackspace.com/usage/cloudbackup/bandwidthOut">
   <atom:id> urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89 </atom:id>
   <atom:category term="tid:1234"/>
   <atom:category term="rgn:DFW"/>
   <atom:category term="dc:DFW1"/>
   <atom:category term="rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"/>
   <atom:category term="cloudbackup.bandwidthOut.agent.usage"/>
   <atom:category term="type:cloudbackup.bandwidthOut.agent.usage"/>
   <atom:content type="application/xml">
      <event dataCenter="DFW1" endTime="2012-06-15T10:19:52Z" environment="PROD" id="8d89673c-c989-11e1-895a-0b3d632a8a89" region="DFW" resourceId="3863d42a-ec9a-11e1-8e12-df8baa3ca440" startTime="2012-06-14T10:19:52Z" tenantId="1234" type="USAGE" version="1">
         <cb-bout:product bandwidthOut="9887765" resourceType="AGENT" serverID="944576fa-ec99-11e1-bb8e-ebb21b47fa86" serviceCode="CloudBackup" version="1"/>
      </event>
   </atom:content>
   <atom:link href="https://ord.feeds.api.rackspacecloud.com/backup/events/entries/urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89" rel="self"/>
   <atom:updated> 2013-02-28T19:31:09.678Z </atom:updated>
   <atom:published> 2013-02-28T19:31:09.678Z </atom:published>
</atom:entry>

JSON Sample

{
   "entry": {
      "@type": "http:\/\/www.w3.org\/2005\/Atom",
      "category": [
         {
            "term": "tid:1234"
         },
         {
            "term": "rgn:DFW"
         },
         {
            "term": "dc:DFW1"
         },
         {
            "term": "rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"
         },
         {
            "term": "cloudbackup.bandwidthOut.agent.usage"
         },
         {
            "term": "type:cloudbackup.bandwidthOut.agent.usage"
         }
      ],
      "content": {
         "event": {
            "@type": "http:\/\/docs.rackspace.com\/core\/event",
            "dataCenter": "DFW1",
            "endTime": "2012-06-15T10:19:52Z",
            "environment": "PROD",
            "id": "8d89673c-c989-11e1-895a-0b3d632a8a89",
            "product": {
               "@type": "http:\/\/docs.rackspace.com\/usage\/cloudbackup\/bandwidthOut",
               "bandwidthOut": 9887765,
               "resourceType": "AGENT",
               "serverID": "944576fa-ec99-11e1-bb8e-ebb21b47fa86",
               "serviceCode": "CloudBackup",
               "version": "1"
            },
            "region": "DFW",
            "resourceId": "3863d42a-ec9a-11e1-8e12-df8baa3ca440",
            "startTime": "2012-06-14T10:19:52Z",
            "tenantId": "1234",
            "type": "USAGE",
            "version": "1"
         }
      },
      "id": "urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89",
      "link": [
         {
            "href": "https:\/\/ord.feeds.api.rackspacecloud.com\/backup\/events\/entries\/urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89",
            "rel": "self"
         }
      ],
      "published": "2013-02-28T19:31:09.678Z",
      "updated": "2013-02-28T19:31:09.678Z"
   }
}

Periodic license event message, version 1

Specifies the periodic license event for Cloud Backup, version 1.

The following table describes attributes for the event message.

Attribute NameDescriptionTypeOptionality
serverIDSpecifies the Id of the server where the agent is installed.int UUIDRequired

XML Sample

<?xml version="1.0"?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.rackspace.com/core/event" xmlns:cb-lic="http://docs.rackspace.com/usage/cloudbackup/license">
   <atom:id> urn:uuid:8d89673c-c989-11e1-895a-0b3d632aa890 </atom:id>
   <atom:category term="tid:1234"/>
   <atom:category term="rgn:DFW"/>
   <atom:category term="dc:DFW1"/>
   <atom:category term="rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"/>
   <atom:category term="cloudbackup.license.agent.usage"/>
   <atom:category term="type:cloudbackup.license.agent.usage"/>
   <atom:content type="application/xml">
      <event dataCenter="DFW1" endTime="2012-06-15T10:19:52Z" environment="PROD" id="8d89673c-c989-11e1-895a-0b3d632aa890" region="DFW" resourceId="3863d42a-ec9a-11e1-8e12-df8baa3ca440" startTime="2012-06-14T10:19:52Z" tenantId="1234" type="USAGE" version="1">
         <cb-lic:product resourceType="AGENT" serverID="9445" serviceCode="CloudBackup" version="1"/>
      </event>
   </atom:content>
   <atom:link href="https://ord.feeds.api.rackspacecloud.com/backup/events/entries/urn:uuid:8d89673c-c989-11e1-895a-0b3d632aa890" rel="self"/>
   <atom:updated> 2013-02-28T19:33:10.075Z </atom:updated>
   <atom:published> 2013-02-28T19:33:10.075Z </atom:published>
</atom:entry>

JSON Sample

{
   "entry": {
      "@type": "http:\/\/www.w3.org\/2005\/Atom",
      "category": [
         {
            "term": "tid:1234"
         },
         {
            "term": "rgn:DFW"
         },
         {
            "term": "dc:DFW1"
         },
         {
            "term": "rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"
         },
         {
            "term": "cloudbackup.license.agent.usage"
         },
         {
            "term": "type:cloudbackup.license.agent.usage"
         }
      ],
      "content": {
         "event": {
            "@type": "http:\/\/docs.rackspace.com\/core\/event",
            "dataCenter": "DFW1",
            "endTime": "2012-06-15T10:19:52Z",
            "environment": "PROD",
            "id": "8d89673c-c989-11e1-895a-0b3d632aa890",
            "product": {
               "@type": "http:\/\/docs.rackspace.com\/usage\/cloudbackup\/license",
               "resourceType": "AGENT",
               "serverID": "9445",
               "serviceCode": "CloudBackup",
               "version": "1"
            },
            "region": "DFW",
            "resourceId": "3863d42a-ec9a-11e1-8e12-df8baa3ca440",
            "startTime": "2012-06-14T10:19:52Z",
            "tenantId": "1234",
            "type": "USAGE",
            "version": "1"
         }
      },
      "id": "urn:uuid:8d89673c-c989-11e1-895a-0b3d632aa890",
      "link": [
         {
            "href": "https:\/\/ord.feeds.api.rackspacecloud.com\/backup\/events\/entries\/urn:uuid:8d89673c-c989-11e1-895a-0b3d632aa890",
            "rel": "self"
         }
      ],
      "published": "2013-02-28T19:33:10.075Z",
      "updated": "2013-02-28T19:33:10.075Z"
   }
}

Periodic license event message, version 2

Specifies the periodic license event for Cloud Backup, version 2

The following table describes attributes for the event message.

Attribute NameDescriptionTypeOptionality
serverIDSpecifies the Id of the server where the agent is installed.int UUIDOptional
serverNameSpecifies the name of the server where the agent is installedstringRequired
externalIf this value is set to true, the server where the agent is installed is external to Rackspace.booleanOptional

XML Sample

<?xml version="1.0"?>
<atom:entry xmlns="http://docs.rackspace.com/core/event" xmlns:cb-lic="http://docs.rackspace.com/usage/cloudbackup/license" xmlns:atom="http://www.w3.org/2005/Atom">
   <atom:id> urn:uuid:8d89673c-c989-11e1-895a-0b3d632aa890 </atom:id>
   <atom:category term="tid:123456"/>
   <atom:category term="rgn:DFW"/>
   <atom:category term="dc:DFW1"/>
   <atom:category term="rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"/>
   <atom:category term="cloudbackup.license.agent.usage_snapshot"/>
   <atom:category term="type:cloudbackup.license.agent.usage_snapshot"/>
   <atom:content type="application/xml">
      <event eventTime="2014-01-24T10:19:52Z" region="DFW" dataCenter="DFW1" type="USAGE_SNAPSHOT" id="8d89673c-c989-22e1-895a-0b3d632a8a89" resourceId="3863d42a-ec9a-11e1-8e12-df8baa3ca440" tenantId="123456" version="1">
         <cb-lic:product version="3" serviceCode="CloudBackup" serverID="9445" serverName="SomeServerName" external="false" resourceType="AGENT"/>
      </event>
   </atom:content>
   <atom:link href="https://ord.feeds.api.rackspacecloud.com/backup/events/entries/urn:uuid:8d89673c-c989-11e1-895a-0b3d632aa890" rel="self"/>
   <atom:updated> 2014-02-03T10:33:10.075Z </atom:updated>
   <atom:published> 2014-02-03T10:33:10.075Z </atom:published>
</atom:entry>

JSON Sample

{
   "entry": {
      "@type": "http:\/\/www.w3.org\/2005\/Atom",
      "category": [
         {
            "term": "tid:123456"
         },
         {
            "term": "rgn:DFW"
         },
         {
            "term": "dc:DFW1"
         },
         {
            "term": "rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"
         },
         {
            "term": "cloudbackup.license.agent.usage_snapshot"
         },
         {
            "term": "type:cloudbackup.license.agent.usage_snapshot"
         }
      ],
      "content": {
         "event": {
            "@type": "http:\/\/docs.rackspace.com\/core\/event",
            "dataCenter": "DFW1",
            "eventTime": "2014-01-24T10:19:52Z",
            "id": "8d89673c-c989-22e1-895a-0b3d632a8a89",
            "product": {
               "@type": "http:\/\/docs.rackspace.com\/usage\/cloudbackup\/license",
               "external": false,
               "resourceType": "AGENT",
               "serverID": "9445",
               "serverName": "SomeServerName",
               "serviceCode": "CloudBackup",
               "version": "3"
            },
            "region": "DFW",
            "resourceId": "3863d42a-ec9a-11e1-8e12-df8baa3ca440",
            "tenantId": "123456",
            "type": "USAGE_SNAPSHOT",
            "version": "1"
         }
      },
      "id": "urn:uuid:8d89673c-c989-11e1-895a-0b3d632aa890",
      "link": [
         {
            "href": "https:\/\/ord.feeds.api.rackspacecloud.com\/backup\/events\/entries\/urn:uuid:8d89673c-c989-11e1-895a-0b3d632aa890",
            "rel": "self"
         }
      ],
      "published": "2014-02-03T10:33:10.075Z",
      "updated": "2014-02-03T10:33:10.075Z"
   }
}

Cloud backup files storage event message, version 1

Specifies the Cloud Files storage for Cloud Backup, version 1.

The following table describes attributes for the event message.

Attribute NameDescriptionTypeOptionality
storageSpecifies the amount of storage that is consumed by the Cloud Files container.unsignedLongRequired
serverIDSpecifies the Id of the server where the agent is installed.int UUIDRequired

XML Sample

<?xml version="1.0"?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.rackspace.com/core/event" xmlns:cb-store="http://docs.rackspace.com/usage/cloudbackup/storage">
   <atom:id> urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89 </atom:id>
   <atom:category term="tid:1234"/>
   <atom:category term="rgn:DFW"/>
   <atom:category term="dc:DFW1"/>
   <atom:category term="rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"/>
   <atom:category term="cloudbackup.storage.agent.usage"/>
   <atom:category term="type:cloudbackup.storage.agent.usage"/>
   <atom:content type="application/xml">
      <event dataCenter="DFW1" endTime="2012-06-15T10:19:52Z" environment="PROD" id="8d89673c-c989-11e1-895a-0b3d632a8a89" region="DFW" resourceId="3863d42a-ec9a-11e1-8e12-df8baa3ca440" startTime="2012-06-14T10:19:52Z" tenantId="1234" type="USAGE" version="1">
        <cb-store:product resourceType="AGENT" serverID="9445" serviceCode="CloudBackup" storage="99992827882" version="1"/
      </event>
  </atom:content>
  <atom:link href="https://ord.feeds.api.rackspacecloud.com/backup/events/entries/urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89" rel="self"/>
  <atom:updated> 2013-02-28T19:37:18.849Z </atom:updated>
   <atom:published> 2013-02-28T19:37:18.849Z </atom:published>
</atom:entry>

JSON Sample

{
   "entry": {
      "@type": "http:\/\/www.w3.org\/2005\/Atom",
      "category": [
         {
            "term": "tid:1234"
         },
         {
            "term": "rgn:DFW"
         },
         {
            "term": "dc:DFW1"
         },
         {
            "term": "rid:3863d42a-ec9a-11e1-8e12-df8baa3ca440"
         },
         {
            "term": "cloudbackup.storage.agent.usage"
         },
         {
            "term": "type:cloudbackup.storage.agent.usage"
         }
      ],
      "content": {
         "event": {
            "@type": "http:\/\/docs.rackspace.com\/core\/event",
            "dataCenter": "DFW1",
            "endTime": "2012-06-15T10:19:52Z",
            "environment": "PROD",
            "id": "8d89673c-c989-11e1-895a-0b3d632a8a89",
            "product": {
               "@type": "http:\/\/docs.rackspace.com\/usage\/cloudbackup\/storage",
               "resourceType": "AGENT",
               "serverID": "9445",
               "serviceCode": "CloudBackup",
               "storage": 99992827882,
               "version": "1"
            },
            "region": "DFW",
            "resourceId": "3863d42a-ec9a-11e1-8e12-df8baa3ca440",
            "startTime": "2012-06-14T10:19:52Z",
            "tenantId": "1234",
            "type": "USAGE",
            "version": "1"
         }
      },
      "id": "urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89",
      "link": [
         {
            "href": "https:\/\/ord.feeds.api.rackspacecloud.com\/backup\/events\/entries\/urn:uuid:8d89673c-c989-11e1-895a-0b3d632a8a89",
            "rel": "self"
         }
      ],
      "published": "2013-02-28T19:37:18.849Z",
      "updated": "2013-02-28T19:37:18.849Z"
   }
}

Response

The following table shows the possible response codes for this
operation.

Response CodeNameDescription
200OKThe request completed successfully
400Bad RequestThe request is missing one or more elements, or the values of some elements are invalid.
401UnauthorizedAuthentication failed, or the user does not have permissions for a requested operation.
429Rate LimitedToo many requests. Wait and retry.
500Internal Server ErrorThe server encountered an unexpected condition which prevented it from fulfilling the request.
503Service UnavailableService is not available. Try again later.