1
This commit is contained in:
+6
-6
@@ -16,14 +16,14 @@ from temp_LawSection_content import *
|
||||
load_dotenv(dotenv_path='config.env')
|
||||
|
||||
|
||||
# host=os.getenv('HOST_160')
|
||||
# password=os.getenv('HOST_160_PASS')
|
||||
host=os.getenv('HOST_160')
|
||||
password=os.getenv('HOST_160_PASS')
|
||||
|
||||
# host=os.getenv('HOST_112')
|
||||
# password=os.getenv('HOST_112_PASS')
|
||||
|
||||
host=os.getenv('HOST_118')
|
||||
password=os.getenv('HOST_118_PASS')
|
||||
# host=os.getenv('HOST_118')
|
||||
# password=os.getenv('HOST_118_PASS')
|
||||
|
||||
# host=os.getenv('HOST_60')
|
||||
# password=os.getenv('HOST_60_PASS')
|
||||
@@ -48,8 +48,8 @@ elastic = ElasticHelper(host, password, "elastic", path_base_map)
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/haditha", "dh_haditha")
|
||||
|
||||
#elastic.backupIndexToZipfile("G:/Project2/111", "mj_qa_section-m1")
|
||||
# elastic.createIndex( 'mj_qa_section-m1', 'majles', 'mj_qa_section')
|
||||
# elastic.restorFileToElastic2('G:/Project2/111/server112/mj_qa_section-m1.zip', 'mj_qa_section-m1', 'majles', False, 'mj_qa_section')
|
||||
elastic.createIndex( 'mj_qa_section-m1', 'majles', 'mj_qa_section')
|
||||
elastic.restorFileToElastic2('G:/Project2/111/server112/mj_qa_section-m1.zip', 'mj_qa_section-m1', 'majles', False, 'mj_qa_section')
|
||||
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "gn_calendar")
|
||||
#elastic.createIndex( 'gn_calendar', 'general', 'gn_calendar')
|
||||
|
||||
Reference in New Issue
Block a user