config_panel.toml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. version = "0.1"
  2. name = "Archivist configuration panel"
  3. [main]
  4. name = "Archivist configuration"
  5. [main.encryption]
  6. name = "Encryption"
  7. [main.encryption.encrypt]
  8. ask = "Do you want to encrypt your backups ?"
  9. type = "boolean"
  10. default = true
  11. [main.encryption.encryption_pwd]
  12. ask = "Set the password for encryption"
  13. type = "password"
  14. optional = true
  15. help = "A password is needed if encryption is activated."
  16. [main.backup_types]
  17. name = "Backup"
  18. [main.backup_types.core_backup]
  19. ask = "Would you like to backup your YunoHost core ?"
  20. type = "boolean"
  21. default = true
  22. [main.backup_types.apps_backup]
  23. ask = "Would you like to backup your apps ?"
  24. type = "boolean"
  25. default = true
  26. help = "WARNING: Changing this value will either remove backup for all apps or add all current apps to the backup."
  27. [main.backup_options]
  28. name = "Backup options"
  29. [main.backup_options.frequency]
  30. ask = "Choose the frequency of your backups ?"
  31. choices = ["Daily", "Each 3 days", "Weekly", "Biweekly", "Monthly"]
  32. default = "Weekly"
  33. [main.backup_options.max_size]
  34. ask = "Max size for each backup in Mb"
  35. type = "number"
  36. default = 500
  37. help = "Specify the max size of each backup for the following option file_to_backup.</br>This option is a soft limit, that means the script will try to limit each backup to this max size if it can.</br>But there's 2 limitations, for a single directory, it can't makes more than one backup file, even if the files in this directory exceed this maximum size.</br>And, if there's some files in a directory, next to subdirectories, it'll make only one backup for this files.</br>So this limit will be applied to split the backup by its subdirectories to avoid to have only one big backup."
  38. [main.overwrite_files]
  39. name = "Overwriting config files"
  40. [main.overwrite_files.overwrite_cron]
  41. ask = "Overwrite the cron file during the upgrade ?"
  42. type = "boolean"
  43. default = true
  44. help = "If the file is overwritten, a backup will be created."
  45. [main.global_config]
  46. name = "Global configuration"
  47. [main.global_config.email_type]
  48. ask = "Send HTML email to admin ?"
  49. type = "boolean"
  50. default = true
  51. help = "Allow app scripts to send HTML mails instead of plain text."