Comments - Moving mariadb to docker installation

5 years, 7 months ago Faustin Lammler

Hi, you can not just start a new instance of mariadb server in a docker container and expect it to work with you "old" mariadb data.

I think this should be done:

  1. backup local database (logical backup, see url below).
  2. start docker with a new volume for the new database
  3. import the SQL dump into the docker database.

Documentation on how to backup your DB: https://mariadb.com/kb/en/library/backup-and-restore-overview/

Regards, Faustin

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.