mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 14:45:23 +00:00
Display backup container names in status
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user