list backups
continuous-integration/drone/push Build is failing Details

main
ronnic 2 years ago
parent fb154ac380
commit a2e1818079

@ -10,11 +10,13 @@ steps:
- name: backup-and-encrypt
image: alpine
commands:
- apk add --no-cache openssl tar
- |
for dir in vaultwarden homebox koillection Homepage mealie; do
tar cvf - /backup/$dir | openssl enc -aes-256-cbc -salt -out /backup/${dir}_backup.tar.enc -k $ENCRYPTION_KEY
done
- apk add --no-cache openssl tar
- ls -lah /backup # List before
- |
for dir in vaultwarden homebox koillection Homepage mealie; do
tar cvf - /backup/$dir | openssl enc -aes-256-cbc -salt -out /backup/${dir}_backup.tar.enc -k $ENCRYPTION_KEY
done
- ls -lah /backup # List after
volumes:
- name: config_volumes
path: /backup

Loading…
Cancel
Save