From 39aabd05466666fbc825b8980cccc959fcb5a756 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 16 Jan 2021 22:22:51 +0100 Subject: [PATCH] bundles/backup-server: of course, we need to ignore hosts which have exclude_from_backups set --- bundles/backup-server/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/backup-server/metadata.py b/bundles/backup-server/metadata.py index e690d29..2ec1a46 100644 --- a/bundles/backup-server/metadata.py +++ b/bundles/backup-server/metadata.py @@ -14,7 +14,7 @@ def get_my_clients(metadata): my_clients = {} for rnode in repo.nodes: - if not rnode.has_bundle('backup-client'): + if not rnode.has_bundle('backup-client') or rnode.metadata.get('backups/exclude_from_backups', False): continue my_clients[rnode.name] = {