From 6a7a84792ef064e18c62657f0c8be7a2e50a9da5 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 20 Nov 2022 12:21:25 +0700 Subject: [PATCH] better feedback when skipping not yet existing index backup --- tubearchivist/home/src/es/index_setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tubearchivist/home/src/es/index_setup.py b/tubearchivist/home/src/es/index_setup.py index 553e3b94..109b88cb 100644 --- a/tubearchivist/home/src/es/index_setup.py +++ b/tubearchivist/home/src/es/index_setup.py @@ -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()