better feedback when skipping not yet existing index backup

This commit is contained in:
simon 2022-11-20 12:21:25 +07:00
parent 2fa907c478
commit 6a7a84792e
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -384,7 +384,9 @@ def backup_all_indexes(reason):
index_name = index["index_name"]
print(f"backup: export in progress for {index_name}")
if not backup_handler.index_exists(index_name):
print(f"skip backup for not yet existing index {index_name}")
continue
backup_handler.backup_index(index_name)
backup_handler.zip_it()