ll-innobackup 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ll-innobackup.rb +5 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e822135070e395eb93e490d1fb13c69e7ca4bcb7
4
- data.tar.gz: 0abda3c7121759c254444334397d7b893c79ad89
3
+ metadata.gz: 1fb3c03e367f52aa8acb4b7965e53e2948334b1f
4
+ data.tar.gz: 6d8cbd3f78015ec3ef7b3b3cd1551f07a0800d4c
5
5
  SHA512:
6
- metadata.gz: 1b970a97f2090c57a67015c32f386084dd58ef6bfd9c7f020a303156490da3e5e12827c2d79fdbb3bb349b0e2843aba82cd5967cfd574fbf299a7a4b77202a4e
7
- data.tar.gz: 85e7231eb9aafed5b399b75cab6219eb11bbe1761c88aa9a3f9fb7c3a995302dea2108f7a09b824d873dd8bdf58733144225f384f3605ac938af741cec38b251
6
+ metadata.gz: b4af407b0eb9aeda269924f50a2b69eb562924ede8394e596a6e5b18312a1732cc68dae77c24dc8b8a9f7cc6ec87b17f02fc7a83b922362c2aa49562dd1e5248
7
+ data.tar.gz: 14506b97e5e7307bc1f955db29240c56a2f3ebfa5a2e67605e1240bde006790f5170f2fa7f443cf9dc766328443d427e0c01a10c0fbbe07b8acf38494f42b546
data/lib/ll-innobackup.rb CHANGED
@@ -139,6 +139,10 @@ class InnoBackup
139
139
  @backup_compress_threads = options['backup_compress_threads'] ||= 4
140
140
  end
141
141
 
142
+ def encryption_threads
143
+ @encryption_threads = options['encryption_threads'] ||= 4
144
+ end
145
+
142
146
  def sql_backup_user
143
147
  @sql_backup_user ||= options['sql_backup_user']
144
148
  end
@@ -181,7 +185,7 @@ class InnoBackup
181
185
  [
182
186
  "--parallel=#{backup_parallel}",
183
187
  "--compress-threads=#{backup_compress_threads}",
184
- ("--encrypt=AES256 --encrypt-key=#{encryption_key}" if is_encrypted?),
188
+ ("--encrypt=AES256 --encrypt-key=#{encryption_key} --encrypt-threads=#{encryption_threads}" if is_encrypted?),
185
189
  '--stream=xbstream --compress'
186
190
  ].join(" ")
187
191
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ll-innobackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Harland, LiveLink Technology Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-06 00:00:00.000000000 Z
11
+ date: 2019-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport