From 3807d26f779133627877cbb118ce1a4211c624d9 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Thu, 18 Apr 2019 05:34:51 +0200 Subject: [PATCH] Display backup container names in status --- restic_volume_backup/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/restic_volume_backup/cli.py b/restic_volume_backup/cli.py index 38cc573..7417339 100644 --- a/restic_volume_backup/cli.py +++ b/restic_volume_backup/cli.py @@ -27,6 +27,10 @@ def status(config, containers): """Outputs the backup config for the compse setup""" print() print("Backup config for compose project '{}'".format(containers.this_container.project_name)) + print("Backup service:", containers.this_container.name) + print("Backup process:", containers.backup_process_container.name \ + if containers.backup_process_container else 'Not Running') + print() for container in containers.containers: