add log output for backup progress

This commit is contained in:
simon 2022-04-15 20:41:38 +07:00
parent 2fc4ed419e
commit fe610fdaca
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -377,6 +377,7 @@ def backup_all_indexes(reason):
for index in backup_handler.index_config:
index_name = index["index_name"]
print(f"backup: export in progress for {index_name}")
if not backup_handler.index_exists(index_name):
continue
all_results = backup_handler.get_all_documents(index_name)