diff --git a/data/actionsmap/yunohost.yml b/data/actionsmap/yunohost.yml index 8509bfb23..1a234b9b0 100644 --- a/data/actionsmap/yunohost.yml +++ b/data/actionsmap/yunohost.yml @@ -920,6 +920,90 @@ backup: extra: pattern: *pattern_backup_archive_name + subcategories: + repository: + subcategory_help: Manage backup repositories + actions: + + ### backup_repository_list() + list: + action_help: List available repositories where put archives + api: GET /backup/repositories + arguments: + name: + help: Name of the repository + extra: + pattern: *pattern_backup_repo_name + + ### backup_repository_info() + info: + action_help: Show info about a repository + api: GET /backup/repositories + arguments: + -H: + full: --human-readable + help: Print sizes in human readable format + action: store_true + --space-used: + help: Display size used + action: store_true + + ### backup_repository_add() + add: + action_help: Add a backup repository + api: POST /backup/repository/ + configuration: + authenticate: all + authenticator: ldap-anonymous + arguments: + path: + help: Path eventually on another server + extra: + pattern: *pattern_backup_repo_path + -n: + full: --name + help: Name of the repository + extra: + pattern: *pattern_backup_repo_name + -d: + full: --description + help: Short description of the repository + --methods: + help: List of backup methods accepted + nargs: "*" + -q: + full: --quota + help: Quota to configure with this repository + --no-encryption: + help: If distant don't encrypt + + ### backup_repository_update() + update: + action_help: Update a backup repository + api: PUT /backup/repository/ + arguments: + -d: + full: --description + help: Short description of the repository + -q: + full: --quota + help: Quota to configure with this repository + -p: + full: --password + help: Change password + extra: + password: ask__password + pattern: *pattern_password + + ### backup_repository_remove() + remove: + action_help: Remove a backup repository + api: DELETE /backup/repository/ + arguments: + name: + help: Name of the backup repository to remove + extra: + pattern: *pattern_backup_repo_name ############################# # Monitor #