Hi,
thank you for the automation.
It may be a bad idea to keep plain data if there is some sensible one.
To keep things simple, we can just add a step to encrypt the files.
For example:
- name: Encrypt data.sql
if: env.BACKUP_ENABLED == 'true'
run: |
openssl enc -aes-256-cbc -pbkdf2 -salt -in packages/database/prisma/backups/data.sql -out packages/database/prisma/backups/data.sql.enc -k "$CIPHER_KEY"
rm packages/database/prisma/backups/data.sql
Hi,
thank you for the automation.
It may be a bad idea to keep plain data if there is some sensible one.
To keep things simple, we can just add a step to encrypt the files.
For example: