elasticsearch_s3_backup 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elasticsearch_s3_backup.rb +9 -9
- data/lib/elasticsearch_s3_backup/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e09ae5a183e12bb57d5b01c239da60a2f6c850c6
|
4
|
+
data.tar.gz: ce67f4d07040c8515311d3078ad051cf2250330a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df87695bcc6259e43c247f639732ff4bc6def6373426dcef3e3eab81daf701a7e35350375d52f5638215781cba2103e4b4ac338e1cd8d46de726853c868479c4
|
7
|
+
data.tar.gz: 0fb979a4afcb32a1b01f29a3a36e4f658f631e236d0465520f9ed89bc5878ec4bc57ad2227063bad935d31771efc3672c74a228a7747c76e1e8da014736119bb
|
@@ -97,17 +97,17 @@ module EverTools
|
|
97
97
|
end
|
98
98
|
|
99
99
|
def create_repo
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
100
|
+
logger.info 'Creating a new monthly ES backup repo…'
|
101
|
+
es_api.snapshot.create_repository(
|
102
|
+
repository: backup_repo,
|
103
|
+
body: {
|
104
|
+
type: 's3',
|
105
|
+
settings: new_repo_params.merge(
|
106
|
+
base_path: "/elasticsearch/#{cluster_name}/#{conf['env']}/#{backup_repo}",
|
107
|
+
server_side_encryption: true
|
108
|
+
)
|
105
109
|
}
|
106
110
|
)
|
107
|
-
|
108
|
-
logger.info 'Creating a new monthly ES backup repo…'
|
109
|
-
es_api.snapshot.create_repository repository: backup_repo,
|
110
|
-
body: new_repo_params
|
111
111
|
end
|
112
112
|
|
113
113
|
def valid_date?(date)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch_s3_backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Herot
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|