Use abra app backup command
This commit is contained in:
parent
4553408e57
commit
d158e7721b
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue