1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/archivist_ynh.git synced 2024-09-03 18:15:55 +02:00

bind more variables

This commit is contained in:
lapineige 2023-12-31 19:14:40 +01:00 committed by GitHub
parent 133a19cdc3
commit 04985e275e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,13 +10,14 @@ name = "Archivist configuration"
ask = "Do you want to encrypt your backups ?"
type = "boolean"
default = true
bind = "encrypt:/opt/yunohost/__APP__/Backup_list.conf"
[main.encryption.encryption_pwd]
ask = "Set the password for encryption"
type = "password"
optional = true
help = "A password is needed if encryption is activated."
bind = "/var/www/__APP__/passkey"
bind = "/opt/yunohost/__APP__/passkey"
[main.compression]
name = "Compression algorithm"
@ -26,12 +27,14 @@ name = "Archivist configuration"
type = "select"
choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
default = "gzip"
bind = "ynh_compression_mode:/opt/yunohost/__APP__/Backup_list.conf"
[main.compression.compress_files]
ask = "Choose the compression algorithm for files and directories backups"
type = "select"
choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
default = "gzip"
bind = "files_compression_mode:/opt/yunohost/__APP__/Backup_list.conf"
[main.backup_types]
name = "Backup"
@ -40,6 +43,7 @@ name = "Archivist configuration"
ask = "Would you like to backup your YunoHost core ?"
type = "boolean"
default = true
bind = "ynh_core_backup:/opt/yunohost/__APP__/Backup_list.conf"
[main.backup_types.apps_backup]
ask = "Would you like to backup your apps ?"