geerlingguy/ansible-role-backup

encryption of backup files

outermedia-sol opened this issue · 2 comments

Would you be open to add encryption to the created backup archives, e.g.
$MYSQLDUMP $MYSQL_CREDENTIALS --single-transaction --quick --lock-tables=false $DB | gzip -f -6 | gpg --batch --no-use-agent --passphrase "{{ backup_passphrase }}" --symmetric --cipher-algo AES256 -o {{ backup_path }}/databases/$DB.sql.gz - 2>&1 | tee -a {{ backup_path }}
If so, would gpg the way to follow?

stale commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale commented

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.