Backup: change config format to toml

With support of multiple config values
This commit is contained in:
2025-12-20 17:13:35 +03:00
parent 439c239ac8
commit b686e4da4d
2 changed files with 49 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
roots = [
"{{ application_dir }}"
]
[storage.yandex]
type = "restic"
restic_repository = "{{ restic_repository }}"
restic_password = "{{ restic_password }}"
aws_access_key_id = "{{ restic_s3_access_key }}"
aws_secret_access_key = "{{ restic_s3_access_secret }}"
aws_default_region = "{{ restic_s3_region }}"
[notifications.telegram]
type = "telegram"
telegram_bot_token = "{{ notifications_tg_bot_token }}"
telegram_chat_id = "{{ notifications_tg_chat_id }}"
notifications_name = "{{ notifications_name }}"