Display backup container names in status
This commit is contained in:
parent
587817fbf5
commit
3807d26f77
|
@ -27,6 +27,10 @@ def status(config, containers):
|
||||||
"""Outputs the backup config for the compse setup"""
|
"""Outputs the backup config for the compse setup"""
|
||||||
print()
|
print()
|
||||||
print("Backup config for compose project '{}'".format(containers.this_container.project_name))
|
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()
|
print()
|
||||||
|
|
||||||
for container in containers.containers:
|
for container in containers.containers:
|
||||||
|
|
Loading…
Reference in New Issue