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

use $final_path

This commit is contained in:
lapineige 2023-12-31 19:48:11 +01:00 committed by GitHub
parent 83deac04f3
commit a82d7ed046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,14 +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"
bind = "encrypt:$final_path/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 = "/opt/yunohost/__APP__/passkey"
bind = "$final_path/passkey"
[main.compression]
name = "Compression algorithm"
@ -27,14 +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"
bind = "ynh_compression_mode:$final_path/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"
bind = "files_compression_mode:$final_path/Backup_list.conf"
[main.backup_types]
name = "Backup"
@ -43,7 +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"
bind = "ynh_core_backup:$final_path/Backup_list.conf"
[main.backup_types.apps_backup]
ask = "Would you like to backup your apps ?"