Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (18 sloc) 1.02 KB

Store MySQL Backups in MinIO Server Slack

In this recipe we will learn how to store MySQL backups in MinIO Server.

1. Prerequisites

  • Install mc from here.
  • Install MinIO Server from here.
  • MySQL official doc

2. Configuration Steps

MinIO server is running using alias m1. Follow MinIO client complete guide here for details. MySQL backups are stored in mysqlbkp directory.

Create a bucket.

mc mb m1/mysqlbkp
Bucket created successfully ‘m1/mysqlbkp’.

Continuously mirror local backup to MinIO server.

Continuously mirror mysqlbkp folder recursively to MinIO. Read more on mc mirror here

mc mirror --force --remove --watch mysqlbkp/ m1/mysqlbkp
You can’t perform that action at this time.