Restore database locally from dumps taken using Bitpoke Operator for MySQL.
- Place the
xtrabackup.gz
file in theinitdb.d
folder - Run
docker-compose up
- Access using
mysql -u root -p -P 33060 -h 127.0.0.1
(the default password isnot-so-secure
)
- Run
docker-compose stop
to stop the containers - Run
docker-compose rm
to remove the containers - Run
docker volume rm stack-db-restore_mysql
to remove the mysql volume