Display backup container names in status

This commit is contained in:
Einar Forselv 2019-04-18 05:34:51 +02:00
parent 587817fbf5
commit 3807d26f77
1 changed files with 4 additions and 0 deletions

View File

@ -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: