This commit is contained in:
parent
8b66b80332
commit
6ff2312090
@ -126,10 +126,11 @@ def restore(snapshot, target, noninteractive, volumes, container, no_commands):
|
||||
print(f"Snapshot to restore: \t{snapshot}")
|
||||
restore_app_versions = app_versions_from_tags(snapshots[0].get('tags'))
|
||||
print("Apps:")
|
||||
for app, version in restore_app_versions.items():
|
||||
print(f"\t{app} \t {version}")
|
||||
if apps_versions.get(app) != version:
|
||||
print(f"WARNING!!! The running app is deployed with version {apps_versions.get(app)}")
|
||||
for app, version in apps_versions.items():
|
||||
restore_version = restore_app_versions.get(app)
|
||||
print(f"\t{app} \t {restore_version}")
|
||||
if version != restore_version:
|
||||
print(f"WARNING!!! The running app is deployed with version {version}")
|
||||
print("The following volume paths will be restored:")
|
||||
for p in backup_paths:
|
||||
print(f'\t{p}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user