Merge lp:~hrvojem/percona-xtrabackup/rn-2.3.0-alpha1-2.2 into lp:percona-xtrabackup/2.2

Proposed by Hrvoje Matijakovic
Status: Rejected
Rejected by: Alexey Kopytov
Proposed branch: lp:~hrvojem/percona-xtrabackup/rn-2.3.0-alpha1-2.2
Merge into: lp:percona-xtrabackup/2.2
Diff against target: 209 lines (+124/-4)
8 files modified
storage/innobase/xtrabackup/doc/source/conf.py (+2/-0)
storage/innobase/xtrabackup/doc/source/installation/apt_repo.rst (+2/-2)
storage/innobase/xtrabackup/doc/source/manual.rst (+4/-0)
storage/innobase/xtrabackup/doc/source/release-notes.rst (+11/-0)
storage/innobase/xtrabackup/doc/source/release-notes/2.2/2.2.1-alpha1.rst (+1/-1)
storage/innobase/xtrabackup/doc/source/release-notes/2.2/2.2.2-beta1.rst (+1/-1)
storage/innobase/xtrabackup/doc/source/release-notes/2.3/2.3.0-alpha1.rst (+16/-0)
storage/innobase/xtrabackup/doc/source/xbcloud/xbcloud.rst (+87/-0)
To merge this branch: bzr merge lp:~hrvojem/percona-xtrabackup/rn-2.3.0-alpha1-2.2
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Needs Resubmitting
Review via email: mp+239967@code.launchpad.net
To post a comment you must log in.
5042. By Hrvoje Matijakovic

-xbcloud documentation, 2.3.0-alpha1 release notes

Revision history for this message
Alexey Kopytov (akopytov) wrote :

Will resubmit for PXB 2.3.

Revision history for this message
Alexey Kopytov (akopytov) :
review: Needs Resubmitting

Unmerged revisions

5042. By Hrvoje Matijakovic

-xbcloud documentation, 2.3.0-alpha1 release notes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'storage/innobase/xtrabackup/doc/source/conf.py'
2--- storage/innobase/xtrabackup/doc/source/conf.py 2014-09-30 09:43:35 +0000
3+++ storage/innobase/xtrabackup/doc/source/conf.py 2014-10-29 19:01:50 +0000
4@@ -122,6 +122,8 @@
5
6 .. |MariaDB| replace:: *MariaDB*
7
8+.. |xbcloud| replace:: *xbcloud*
9+
10 .. |tar4ibd| replace:: :program:`tar4ibd`
11
12 .. |tar| replace:: :program:`tar`
13
14=== modified file 'storage/innobase/xtrabackup/doc/source/installation/apt_repo.rst'
15--- storage/innobase/xtrabackup/doc/source/installation/apt_repo.rst 2014-09-25 16:10:20 +0000
16+++ storage/innobase/xtrabackup/doc/source/installation/apt_repo.rst 2014-10-29 19:01:50 +0000
17@@ -37,10 +37,10 @@
18
19 * 10.04LTS (lucid)
20 * 12.04LTS (precise)
21- * 13.10 (saucy)
22 * 14.04LTS (trusty)
23+ * 14.10 (utopic)
24
25-.. _debian_experimental:
26+.. _debian_testing:
27
28 Percona `apt` Testing repository
29 =================================
30
31=== modified file 'storage/innobase/xtrabackup/doc/source/manual.rst'
32--- storage/innobase/xtrabackup/doc/source/manual.rst 2013-08-30 09:55:04 +0000
33+++ storage/innobase/xtrabackup/doc/source/manual.rst 2014-10-29 19:01:50 +0000
34@@ -12,6 +12,7 @@
35 xtrabackup_bin/xtrabackup_binary
36 xbstream/xbstream
37 xbcrypt/xbcrypt
38+ xbcloud/xbcloud
39 how_xtrabackup_works
40
41 |Percona XtraBackup| is a set of following tools:
42@@ -28,4 +29,7 @@
43 :doc:`xbstream <xbstream/xbstream>`
44 utility that allows streaming and extracting files to/from the :term:`xbstream` format.
45
46+:doc:`xbcloud <xbcloud/xbcloud>`
47+ utility used for downloading and uploading full or part of |xbstream| archive from/to cloud.
48+
49 It is possible to use the |xtrabackup| binary alone, however, the recommend way is using it through the |innobackupex| wrapper script and let it execute |xtrabackup| for you. It might be helpful to first learn :doc:`how to use innobackupex <innobackupex/innobackupex_script>`, and then learn :doc:`how to use xtrabackup <xtrabackup_bin/xtrabackup_binary>` for having a better low-level understanding or control of the tool if needed.
50
51=== modified file 'storage/innobase/xtrabackup/doc/source/release-notes.rst'
52--- storage/innobase/xtrabackup/doc/source/release-notes.rst 2014-03-26 07:39:36 +0000
53+++ storage/innobase/xtrabackup/doc/source/release-notes.rst 2014-10-29 19:01:50 +0000
54@@ -48,3 +48,14 @@
55 :glob:
56
57 release-notes/2.2/*
58+
59+Percona |XtraBackup| 2.3
60+=========================
61+
62+.. toctree::
63+ :maxdepth: 1
64+ :glob:
65+
66+ release-notes/2.3/*
67+
68+
69
70=== modified file 'storage/innobase/xtrabackup/doc/source/release-notes/2.2/2.2.1-alpha1.rst'
71--- storage/innobase/xtrabackup/doc/source/release-notes/2.2/2.2.1-alpha1.rst 2014-03-28 11:46:09 +0000
72+++ storage/innobase/xtrabackup/doc/source/release-notes/2.2/2.2.1-alpha1.rst 2014-10-29 19:01:50 +0000
73@@ -2,7 +2,7 @@
74 |Percona XtraBackup| 2.2.1-alpha1
75 =======================================
76
77-Percona is glad to announce the release of |Percona XtraBackup| 2.2.1-alpha1 on March 28th 2014. Downloads are available from our download site `here <http://www.percona.com/downloads/XtraBackup/2.2.1/>`_. This **ALPHA** release, will be available in :ref:`Debian experimental <debian_experimental>` and :ref:`CentOS testing <yum_testing>` repositories.
78+Percona is glad to announce the release of |Percona XtraBackup| 2.2.1-alpha1 on March 28th 2014. Downloads are available from our download site `here <http://www.percona.com/downloads/XtraBackup/2.2.1/>`_. This **ALPHA** release, will be available in :ref:`Debian testing <debian_testing>` and :ref:`CentOS testing <yum_testing>` repositories.
79
80 This is an **ALPHA** quality release and it is not intended for production. If you want a high quality, Generally Available release, the current Stable version should be used (currently 2.1.8 in the 2.1 series at the time of writing).
81
82
83=== modified file 'storage/innobase/xtrabackup/doc/source/release-notes/2.2/2.2.2-beta1.rst'
84--- storage/innobase/xtrabackup/doc/source/release-notes/2.2/2.2.2-beta1.rst 2014-05-06 17:08:06 +0000
85+++ storage/innobase/xtrabackup/doc/source/release-notes/2.2/2.2.2-beta1.rst 2014-10-29 19:01:50 +0000
86@@ -2,7 +2,7 @@
87 |Percona XtraBackup| 2.2.2-beta1
88 =======================================
89
90-Percona is glad to announce the release of |Percona XtraBackup| 2.2.2-beta1 on May 8th 2014. Downloads are available from our download site `here <http://www.percona.com/downloads/XtraBackup/2.2.2/>`_. This **BETA** release will be available in :ref:`Debian experimental <debian_experimental>` and :ref:`CentOS testing <yum_testing>` repositories.
91+Percona is glad to announce the release of |Percona XtraBackup| 2.2.2-beta1 on May 8th 2014. Downloads are available from our download site `here <http://www.percona.com/downloads/XtraBackup/2.2.2/>`_. This **BETA** release will be available in :ref:`Debian testing <debian_testing>` and :ref:`CentOS testing <yum_testing>` repositories.
92
93 This is a **BETA** quality release and it is not intended for production. If you want a high quality, Generally Available release, the current Stable version should be used (currently 2.1.9 in the 2.1 series at the time of writing).
94
95
96=== added directory 'storage/innobase/xtrabackup/doc/source/release-notes/2.3'
97=== added file 'storage/innobase/xtrabackup/doc/source/release-notes/2.3/2.3.0-alpha1.rst'
98--- storage/innobase/xtrabackup/doc/source/release-notes/2.3/2.3.0-alpha1.rst 1970-01-01 00:00:00 +0000
99+++ storage/innobase/xtrabackup/doc/source/release-notes/2.3/2.3.0-alpha1.rst 2014-10-29 19:01:50 +0000
100@@ -0,0 +1,16 @@
101+===================================
102+ |Percona XtraBackup| 2.3.0-alpha1
103+===================================
104+
105+Percona is glad to announce the release of |Percona XtraBackup| 2.3.0-alpha1 on October 30th 2014. Downloads are available from our download site `here <http://www.percona.com/downloads/TESTING/XtraBackup/xtrabackup-2.3.0alpha1/>`_. This **ALPHA** release, will be available in :ref:`Debian testing <debian_testing>` and :ref:`CentOS testing <yum_testing>` repositories.
106+
107+This is an **ALPHA** quality release and it is not intended for production. If you want a high quality, Generally Available release, the current Stable version should be used (currently 2.2.5 in the 2.2 series at the time of writing).
108+
109+New features
110+------------
111+
112+ |Percona XtraBackup| has implemented new tool, :ref:`xbcloud_binary`, which can be used to upload/download full or part of |xbstream| archive from/to cloud.
113+
114+.. note::
115+
116+ In order to sucessfully install Percona Xtrabackup 2.3.0-alpha1 on *CentOS*, ``libev.so.4`` package will need to be installed first. ``libev.so.4`` package can be installed from the `EPEL <https://fedoraproject.org/wiki/EPEL>`_ repositories.
117
118=== added directory 'storage/innobase/xtrabackup/doc/source/xbcloud'
119=== added file 'storage/innobase/xtrabackup/doc/source/xbcloud/xbcloud.rst'
120--- storage/innobase/xtrabackup/doc/source/xbcloud/xbcloud.rst 1970-01-01 00:00:00 +0000
121+++ storage/innobase/xtrabackup/doc/source/xbcloud/xbcloud.rst 2014-10-29 19:01:50 +0000
122@@ -0,0 +1,87 @@
123+.. _xbcloud_binary:
124+
125+======================
126+ The xbcloud Binary
127+======================
128+
129+.. note::
130+
131+ This feature implementation is considered **ALPHA** quality.
132+
133+|xbcloud| is a new tool which is part of the |Percona XtraBackup| 2.3.0-alpha1 release. 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. Along with |xbstream| archive index file will be uploaded which contains list of files and their parts and offsets of those parts in the |xbstream| archive. This index is needed for downloading only part of archive (one or several tables from backups) on demand.
134+
135+Usage
136+-----
137+
138+Backup: ::
139+
140+ innobackupex --stream=xbstream /tmp | xbcloud [options] put <name>
141+
142+Following example shows how to make a full backup and upload it to Swift: ::
143+
144+ innobackupex --stream=xbstream --extra-lsndir=/tmp /tmp | \
145+ xbcloud put --storage=Swift \
146+ --swift-container=test \
147+ --swift-user=test:tester \
148+ --swift-url=http://192.168.8.80:8080/ \
149+ --swift-key=testing \
150+ --parallel=10 \
151+ full_backup
152+
153+Restore: ::
154+
155+ xbcloud [options] get <name> [<list-of-files>] | xbstream -x
156+
157+Following example shows how to fetch and restore the backup from Swift: ::
158+
159+ xbcloud get --storage=Swift \
160+ --swift-container=test \
161+ --swift-user=test:tester \
162+ --swift-url=http://192.168.8.80:8080/ \
163+ --swift-key=testing \
164+ full_backup | xbstream -xv -C /tmp/downloaded_full
165+
166+ innobackupex --apply-log /tmp/downloaded_full
167+ innobackupex --copy-back /tmp/downloaded_full
168+
169+Limitations
170+-----------
171+
172+Restoring individual tables from full cloud backup isn't possible without downloading the entire backup.
173+
174+Command-line options
175+--------------------
176+
177+|xbcloud| has following command line options:
178+
179+.. option:: --storage
180+
181+ Cloud storage option. Only support for Swift is currently implemented. Default is Swift
182+
183+.. option:: --swift-url
184+
185+ URL of Swift cluster
186+
187+.. option:: --swift-user
188+
189+ Swift username (X-Auth-User, specific to Swift)
190+
191+.. option:: --swift-key
192+
193+ Swift key/password (X-Auth-Key, specific to Swift)
194+
195+.. option:: --swift-container
196+
197+ Container to backup into (specific to Swift)
198+
199+.. option:: --parallel=N
200+
201+ Maximum number of concurrent upload/download threads. Default is 1.
202+
203+.. option:: --cacert
204+
205+ Path to the file with CA certificates
206+
207+.. option:: --insecure
208+
209+ Do not verify servers certificate

Subscribers

People subscribed via source and target branches