config_panel.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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.compression]
  17. name = "Compression algorithm"
  18. [main.compression.ynh]
  19. ask = "Choose the compression algorithm for YunoHost backups"
  20. choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
  21. default = "gzip"
  22. [main.compression.files]
  23. ask = "Choose the compression algorithm for files and directories backups"
  24. choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
  25. default = "gzip"
  26. [main.backup_types]
  27. name = "Backup"
  28. [main.backup_types.core_backup]
  29. ask = "Would you like to backup your YunoHost core ?"
  30. type = "boolean"
  31. default = true
  32. [main.backup_types.apps_backup]
  33. ask = "Would you like to backup your apps ?"
  34. type = "boolean"
  35. default = true
  36. help = "WARNING: Changing this value will either remove backup for all apps or add all current apps to the backup."
  37. [main.backup_options]
  38. name = "Backup options"
  39. [main.backup_options.frequency]
  40. ask = "Choose the frequency of your backups ?"
  41. choices = ["Daily", "Each 3 days", "Weekly", "Biweekly", "Monthly"]
  42. default = "Weekly"
  43. [main.backup_options.max_size]
  44. ask = "Max size for each backup in Mb"
  45. type = "number"
  46. default = 500
  47. 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."
  48. [main.overwrite_files]
  49. name = "Overwriting config files"
  50. [main.overwrite_files.overwrite_cron]
  51. ask = "Overwrite the cron file during the upgrade ?"
  52. type = "boolean"
  53. default = true
  54. help = "If the file is overwritten, a backup will be created."
  55. [main.global_config]
  56. name = "Global configuration"
  57. [main.global_config.email_type]
  58. ask = "Send HTML email to admin ?"
  59. type = "boolean"
  60. default = true
  61. help = "Allow app scripts to send HTML mails instead of plain text."