mirror of
https://github.com/YunoHost-Apps/archivist_ynh.git
synced 2024-09-03 18:15:55 +02:00
33 lines
1,019 B
JSON
33 lines
1,019 B
JSON
[{
|
|
"id": "force_backup",
|
|
"name": "Create a new backup",
|
|
"command": "/bin/bash scripts/actions/force_backup",
|
|
"user": "root",
|
|
"accepted_return_codes": [0],
|
|
"description": {
|
|
"en": "Run Archivist to create a new backup.",
|
|
"fr": "Lance Archivist pour créer un nouveau backup."
|
|
}
|
|
},
|
|
{
|
|
"id": "clean_backups",
|
|
"name": "Clean all previous backup files",
|
|
"command": "/bin/bash scripts/actions/clean_backups",
|
|
"user": "root",
|
|
"accepted_return_codes": [0],
|
|
"description": {
|
|
"en": "Remove all previous backup files made by Archivist.",
|
|
"fr": "Supprime tout les précédents backups créés par Archivist."
|
|
}
|
|
},
|
|
{
|
|
"id": "reset_default_config",
|
|
"name": "Reset the config file and restore a default one.",
|
|
"command": "/bin/bash scripts/actions/reset_default_config \"Backup_list.conf\"",
|
|
"user": "root",
|
|
"accepted_return_codes": [0],
|
|
"description": {
|
|
"en": "Reset the config file Backup_list.conf.",
|
|
"fr": "Réinitialise le fichier de configuration Backup_list.conf."
|
|
}
|
|
}]
|