mirror of
https://github.com/Coldin04/vaultwarden_backup.git
synced 2026-02-17 16:13:32 +00:00
添加 Vaultwarden 自动备份脚本及相关配置文件
This commit is contained in:
commit
90fd54a6a1
5 changed files with 358 additions and 0 deletions
20
.env-ex
Normal file
20
.env-ex
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Cloudflare R2
|
||||
R2_ACCESS_KEY_ID=
|
||||
R2_SECRET_ACCESS_KEY=
|
||||
R2_ACCOUNT_ID=
|
||||
R2_BUCKET_NAME=backup
|
||||
R2_REGION=auto
|
||||
|
||||
# Vaultwarden 和备份相关
|
||||
COMPOSE_DIR=/root/vaultwarden
|
||||
BACKUP_SOURCE_DIR=/root/vaultwarden/vw-data
|
||||
BACKUP_TEMP_FILE=/tmp/vw_backup.tar.gz
|
||||
BACKUP_ENCRYPTED_FILE=/tmp/vw_backup.tar.gz.enc
|
||||
ENCRYPT_PASSWORD=Password
|
||||
|
||||
SLOT_COUNT=3
|
||||
BACKUP_PREFIX=back-vault-s
|
||||
|
||||
# Telegram Bot
|
||||
TELEGRAM_BOT_TOKEN=
|
||||
TELEGRAM_CHAT_ID=
|
||||
Loading…
Add table
Add a link
Reference in a new issue