2
0

actions.json 1019 B

123456789101112131415161718192021222324252627282930313233
  1. [{
  2. "id": "force_backup",
  3. "name": "Create a new backup",
  4. "command": "/bin/bash scripts/actions/force_backup",
  5. "user": "root",
  6. "accepted_return_codes": [0],
  7. "description": {
  8. "en": "Run Archivist to create a new backup.",
  9. "fr": "Lance Archivist pour créer un nouveau backup."
  10. }
  11. },
  12. {
  13. "id": "clean_backups",
  14. "name": "Clean all previous backup files",
  15. "command": "/bin/bash scripts/actions/clean_backups",
  16. "user": "root",
  17. "accepted_return_codes": [0],
  18. "description": {
  19. "en": "Remove all previous backup files made by Archivist.",
  20. "fr": "Supprime tout les précédents backups créés par Archivist."
  21. }
  22. },
  23. {
  24. "id": "reset_default_config",
  25. "name": "Reset the config file and restore a default one.",
  26. "command": "/bin/bash scripts/actions/reset_default_config \"Backup_list.conf\"",
  27. "user": "root",
  28. "accepted_return_codes": [0],
  29. "description": {
  30. "en": "Reset the config file Backup_list.conf.",
  31. "fr": "Réinitialise le fichier de configuration Backup_list.conf."
  32. }
  33. }]