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:
parent
133a19cdc3
commit
04985e275e
1 changed files with 6 additions and 2 deletions
|
@ -10,13 +10,14 @@ name = "Archivist configuration"
|
||||||
ask = "Do you want to encrypt your backups ?"
|
ask = "Do you want to encrypt your backups ?"
|
||||||
type = "boolean"
|
type = "boolean"
|
||||||
default = true
|
default = true
|
||||||
|
bind = "encrypt:/opt/yunohost/__APP__/Backup_list.conf"
|
||||||
|
|
||||||
[main.encryption.encryption_pwd]
|
[main.encryption.encryption_pwd]
|
||||||
ask = "Set the password for encryption"
|
ask = "Set the password for encryption"
|
||||||
type = "password"
|
type = "password"
|
||||||
optional = true
|
optional = true
|
||||||
help = "A password is needed if encryption is activated."
|
help = "A password is needed if encryption is activated."
|
||||||
bind = "/var/www/__APP__/passkey"
|
bind = "/opt/yunohost/__APP__/passkey"
|
||||||
|
|
||||||
[main.compression]
|
[main.compression]
|
||||||
name = "Compression algorithm"
|
name = "Compression algorithm"
|
||||||
|
@ -26,12 +27,14 @@ name = "Archivist configuration"
|
||||||
type = "select"
|
type = "select"
|
||||||
choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
|
choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
|
||||||
default = "gzip"
|
default = "gzip"
|
||||||
|
bind = "ynh_compression_mode:/opt/yunohost/__APP__/Backup_list.conf"
|
||||||
|
|
||||||
[main.compression.compress_files]
|
[main.compression.compress_files]
|
||||||
ask = "Choose the compression algorithm for files and directories backups"
|
ask = "Choose the compression algorithm for files and directories backups"
|
||||||
type = "select"
|
type = "select"
|
||||||
choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
|
choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
|
||||||
default = "gzip"
|
default = "gzip"
|
||||||
|
bind = "files_compression_mode:/opt/yunohost/__APP__/Backup_list.conf"
|
||||||
|
|
||||||
[main.backup_types]
|
[main.backup_types]
|
||||||
name = "Backup"
|
name = "Backup"
|
||||||
|
@ -40,6 +43,7 @@ name = "Archivist configuration"
|
||||||
ask = "Would you like to backup your YunoHost core ?"
|
ask = "Would you like to backup your YunoHost core ?"
|
||||||
type = "boolean"
|
type = "boolean"
|
||||||
default = true
|
default = true
|
||||||
|
bind = "ynh_core_backup:/opt/yunohost/__APP__/Backup_list.conf"
|
||||||
|
|
||||||
[main.backup_types.apps_backup]
|
[main.backup_types.apps_backup]
|
||||||
ask = "Would you like to backup your apps ?"
|
ask = "Would you like to backup your apps ?"
|
||||||
|
|
Loading…
Reference in a new issue