Support backups to swift
xbcloud
External tool will be made to upload/download xbstream backup archives to/from cloud storage.
The purpose of xbcloud is to download and upload full or part of xbstream archive from/to cloud. Archive uploading will employ multipart upload for Amazon and Large Objects on Swift.
Blueprint information
- Status:
- Complete
- Approver:
- Alexey Kopytov
- Priority:
- Essential
- Drafter:
- Sergei Glushchenko
- Direction:
- Approved
- Assignee:
- Sergei Glushchenko
- Definition:
- Approved
- Series goal:
- Accepted for 2.3
- Implementation:
-
Implemented
- Milestone target:
-
2.3.0-alpha1
- Started by
- Alexey Kopytov
- Completed by
- Alexey Kopytov
Whiteboard
Backup:
innobackupex --stream=xbstream /tmp | xbcloud [options] put <name>
Restore:
xbcloud [options] get <name> | xbstream -x
xbcloud will be taking following options:
Arguments:
storage=S - S3 or Swift (default is Swift)
swift-url - URL of Swift cluster (specific to Swift)
swift-user - Swift username (X-Auth-User, specific to Swift)
swift-key - Swift key/password (X-Auth-Key, specific to Swift)
swift-container - Container to backup into (specific to swift)
parallel=N - maximum number of concurrent upload/download threads. Default is 1.
additional options to deal with self-signed SSL certificates
--cacert - path to the file with CA certificates
--insecure - do not verify servers certificate
Work Items
Dependency tree

* Blueprints in grey have been implemented.