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 - name: backup-and-encrypt
image: alpine image: alpine
commands: commands:
- apk add --no-cache openssl tar - 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 for dir in vaultwarden homebox koillection Homepage mealie; do
done 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: volumes:
- name: config_volumes - name: config_volumes
path: /backup path: /backup

Loading…
Cancel
Save