Comments - how to restore mariadb with mariabackup in docker?
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.
There's a restore from backup example on the Docker Hub MariaDB page - https://hub.docker.com/_/mariadb/ under "Restore backups with Mariabackup".
Thanks a lot for reminding this page -> https://hub.docker.com/_/mariadb/
I'm too focus on the mariadb backup page -> https://mariadb.com/kb/en/full-backup-and-restore-with-mariabackup/
And at the Restoring the Backup section in that page.
First, stop the MariaDB Server process. Then, ensure that the datadir is empty. Then, run Mariabackup with one of the options mentioned above:
That's why I'm thinking how to stop mariaDB server process in the docker.
I will try the steps in the docker hub mariadb page.
Thanks again for your kindly help.