actions.toml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. [force_backup]
  2. name = "Create a new backup"
  3. command = "/bin/bash scripts/actions/force_backup"
  4. # user = "root" # optional
  5. # cwd = "/" # optional
  6. # accepted_return_codes = [0, 1, 2, 3] # optional
  7. accepted_return_codes = [0]
  8. description = "Run Archivist to create a new backup."
  9. [clean_backups]
  10. name = "Clean all previous backup files"
  11. command = "/bin/bash scripts/actions/clean_backups"
  12. # user = "root" # optional
  13. # cwd = "/" # optional
  14. # accepted_return_codes = [0, 1, 2, 3] # optional
  15. accepted_return_codes = [0]
  16. description = "Remove all previous backup files made by Archivist."
  17. [reset_default_config]
  18. name = "Reset the config file and restore a default one."
  19. command = "/bin/bash scripts/actions/reset_default_config \"Backup_list.conf\""
  20. # user = "root" # optional
  21. # cwd = "/" # optional
  22. # accepted_return_codes = [0, 1, 2, 3] # optional
  23. accepted_return_codes = [0]
  24. description = "Reset the config file Backup_list.conf."
  25. [reset_default_app]
  26. name = "Reset the app with a default configuration."
  27. command = "/bin/bash scripts/actions/reset_default_app"
  28. # user = "root" # optional
  29. # cwd = "/" # optional
  30. # accepted_return_codes = [0, 1, 2, 3] # optional
  31. accepted_return_codes = [0]
  32. description = "Reset the app to its default configuration to try to fix potential issues.<br>This action won't remove any data added to the app.<br>However, if you have modified any configuration, it will be overwritten."