Соединение с облаком:
Получаем в ответ:
Нам потребуется X-Storage-URL (место где находятся файлы) и X-Storage-Token.
запускаем получаем список контейнеров
Добавляем /cloudservers в конце урла.
Получаем список файлов в контейнере.
копируем xtrabackup dump на облако
curl -D - -H "X-Auth-User: RackspaceCloudUsername" -H "X-Auth-Key: RackspaceApiKey" https://auth.api.rackspacecloud.com/v1.0
HTTP/1.1 204 No Content
Date: Wed, 30 Mar 2011 04:15:28 GMT
Server: Apache/2.2.3 (Mosso Engineering)
X-Storage-Url: https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-1234567890
X-Storage-Token: 63ea9670-c80f-402d-9657-1234567890
X-CDN-Management-Url: https://cdn1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-68b8ee123456
X-Auth-Token: 63ea9670-c80f-402d-9657-c59bdb123456
X-Server-Management-Url: https://servers.api.rackspacecloud.com/v1.0/123456
Content-Length: 0
Connection: close
Content-Type: application/octet-stream
curl -H "X-Storage-Token: aaa89968-977b-4540-ac65-52037abde38d" https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_8e0c0a34-d042-465d-a2aa-313dc3bb1b3a
curl -H "X-Storage-Token: 63ea9670-c80f-402d-9657-1234567890" https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-1234567890/cloudservers
curl -H "X-Storage-Token: 63ea9670-c80f-402d-9657-1234567890" https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-1234567890/cloudservers
20110207installminimum_20110720_1314_cloudserver20106024.tar.gz.0
20110207installminimum_20110720_1354_cloudserver20106024.yml
20110721withtempsite_20110721_1816_cloudserver20106024.tar.gz.0
20110721withtempsite_20110721_1816_cloudserver20106024.yml
20110810_20110810_1250_cloudserver20106024.tar.gz.0
20110810_20110810_1250_cloudserver20106024.yml
curl -X PUT -T db.20111128.tar.gz -D - \
-H "X-Auth-Token: 63ea9670-c80f-402d-9657-1234567890" \
-H "X-Object-Meta-Screenie: mysqldump 2011 10" \
https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-1234567890/xtrabackup/201111/db.20111128.tar.gz