diff --git a/migrabrator.py b/migrabrator.py index c42024c..8d00398 100755 --- a/migrabrator.py +++ b/migrabrator.py @@ -32,10 +32,8 @@ def move_app(source_app, target_server=False, target_domain=False, move_vols=Fal copy_secrets(source_app, target_domain) def backup(app): - # TODO: replace with abra app backup command - backupbot = get_backupbot(app) - output = abra('app', 'run', backupbot, 'app', - '--', 'backup', '-h', app, 'create') + logging.info(f"Start Backup of {app}...") + output = abra('app', 'backup', 'create', app) print(output) def copy_files_between_servers(source_server, source_dir, destination_server, destination_dir):