diff --git a/data/actionsmap/yunohost.yml b/data/actionsmap/yunohost.yml index 097f68729..a5f0827ba 100644 --- a/data/actionsmap/yunohost.yml +++ b/data/actionsmap/yunohost.yml @@ -617,9 +617,6 @@ backup: --ignore-apps: help: Do not restore apps action: store_true - --ignore-hooks: - help: Do not restore hooks - action: store_true --force: help: Force restauration on an already installed system action: store_true @@ -662,8 +659,6 @@ backup: delete: action_help: Delete a backup archive api: DELETE /backup/archives/ - configuration: - authenticate: all arguments: name: help: Name of the archive to delete diff --git a/lib/yunohost/backup.py b/lib/yunohost/backup.py index 4c0ac2e7b..dfa806e9c 100644 --- a/lib/yunohost/backup.py +++ b/lib/yunohost/backup.py @@ -222,7 +222,7 @@ def backup_create(name=None, description=None, output_directory=None, return { 'archive': info } -def backup_restore(name, hooks=[], apps=[], ignore_apps=False, ignore_hooks=False, force=False): +def backup_restore(name, hooks=[], apps=[], ignore_apps=False, force=False): """ Restore from a local backup archive @@ -414,7 +414,7 @@ def backup_info(name, with_details=False, human_readable=False): return result -def backup_delete(auth, name): +def backup_delete(name): """ Delete a backup