update backup
continuous-integration/drone/push Build is passing Details

main
ronnic 2 years ago
parent 5948cf08db
commit 8b7424b2af

@ -13,8 +13,11 @@ steps:
- apk add --no-cache openssl tar
- |
for dir in vaultwarden homebox koillection Homepage mealie; do
echo "Backing up $dir"
tar cvf - /backup/$dir | openssl enc -aes-256-cbc -salt -out "/backup/${dir}_backup.tar.enc" -k $ENCRYPTION_KEY -md sha256
echo "Backup for $dir completed"
done
volumes:
- name: config_volumes
path: /backup

Loading…
Cancel
Save