Update backup and logging documentation for Proxmox and containers. Adjust retention policies for Yandex Object Storage and enhance log rotation settings across various containers. Include detailed instructions for VPS backup processes and configurations for AmneziaVPN.
This commit is contained in:
12
docs/backup/restic-yandex-env.example
Normal file
12
docs/backup/restic-yandex-env.example
Normal file
@@ -0,0 +1,12 @@
|
||||
# Пример конфига для restic + Yandex Object Storage.
|
||||
# Скопировать на хост Proxmox: cp restic-yandex-env.example /root/.restic-yandex.env
|
||||
# Подставить свои Access Key ID и Secret Key, chmod 600 /root/.restic-yandex.env
|
||||
# Не коммитить файл с реальными ключами.
|
||||
# Сервисному аккаунту в Yandex нужна роль storage.editor (не только uploader) — restic требует List объектов в бакете.
|
||||
|
||||
RESTIC_REPOSITORY=s3:storage.yandexcloud.net/backup-local
|
||||
AWS_ACCESS_KEY_ID=ваш_идентификатор_ключа
|
||||
AWS_SECRET_ACCESS_KEY=ваш_секретный_ключ
|
||||
RESTIC_PASSWORD_FILE=/root/.restic-password
|
||||
# Регион Yandex (по умолчанию ru-central1)
|
||||
AWS_DEFAULT_REGION=ru-central1
|
||||
Reference in New Issue
Block a user