mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Remove --ignore-hooks cause it is unfinished
This commit is contained in:
parent
7ef3b7523b
commit
5bb143c32e
2 changed files with 2 additions and 7 deletions
|
@ -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/<name>
|
||||
configuration:
|
||||
authenticate: all
|
||||
arguments:
|
||||
name:
|
||||
help: Name of the archive to delete
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue