In this recipe we will learn how to store MySQL backups in Minio Server.
Minio server is running using alias m1
. Follow Minio client complete guide here for details. MySQL backups are stored in mysqlbkp
directory.
mc mb m1/mysqlbkp
Bucket created successfully ‘m1/mysqlbkp’.
Continuously mirror mysqlbkp
folder recursively to Minio. Read more on mc mirror
here
mc mirror --force --remove --watch mysqlbkp/ m1/mysqlbkp