# Migrate Your Databases to Kubernetes and Docker

DevFeed: [Migrate Your Databases to Kubernetes and Docker](<https://devfeed.tech/articles/migrate-your-databases-to-kubernetes-and-docker-10602.md>)

Original publisher: [Read original article](<https://technotim.com/posts/migrate-database-docker-kubernetes/>)

Author: Techno Tim

Published: 2020-10-17T14:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Bash](<https://devfeed.tech/topics/bash.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [databases](<https://devfeed.tech/tags/databases.md>), [docker](<https://devfeed.tech/tags/docker.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

A step-by-step tutorial about moving a database from a virtual machine or bare-metal server into a container running on Kubernetes with Docker. The supplied evidence also references a MySQL backup shell script.

## Source excerpt

Have you been putting off migrating your database to Docker and Kubernetes like I have? Well wait no longer.It's simple using this step-by-step tutorial.Today, we'll move a database that's on a virtual machine to a container that's running in kubernetes.Oh yeah, this will also work if it's a bare metal server too, duh.🙂 📺 Watch Video mysql_backup.sh #! /bin/bash BACKUP_DIR="/home" MYSQL_...