/docker-wordpress-git-backup

Create encrypted backups of your wordpress database and push to github repo

Primary LanguageShellApache License 2.0Apache-2.0

Docker-wordpress-git-backup

How to decryping db backup

docker exec -it CONTAINER_ID /bin/bash
openssl enc -d -aes256 -salt -pbkdf2 -pass pass:BACKUP_ENCRYPTION_KEY -in /backups/BACKUP_NAME.sql.gz | gzip -d > /backups/BACKUP_NAME.sql