mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-07 12:19:25 +00:00
validate backup before creating blank index
This commit is contained in:
@@ -152,6 +152,7 @@ class ElasitIndexWrap:
|
||||
index_name, expected_map, expected_set = self._config_split(index)
|
||||
handler = ElasticIndex(index_name, expected_map, expected_set)
|
||||
if not handler.exists:
|
||||
self._check_backup()
|
||||
handler.create_blank()
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user