Automate MySQL database backup directly to your AWS S3 storage.
With SimpleBackups, you can backup MySQL database to any cloud storage provider.
In this article, I'll go through the entire process of setting up your backup and store it on AWS S3 specifically.
Sign in your AWS Management Console.
Go to your AWS S3 bucket list and create a new bucket
Keep default options for (2) Configure options, (3) Set Permission, review and create your bucket.
Information you'll need in step 3:
In order to give access to your newly created bucket, you'll need to provide credentials to SimpleBackups.
Follow this simple article on how to get your AWS S3 Credentials.
Information you'll need in step 3:
You'll have to input :
You'll be redirected to the list of storage where you'll find your newly connected storage.
Now it's time to head to the create backup page.
Select your schedule option (here we picked a daily schedule)
You can select a pre-defined schedule (daily, weekly, monthly) or a custom option allowing you to schedule it whenever you want to use CRON syntax.
Example of CRON schedule for "20:00 every Tuesday" = 0 22 * * 2
Finally, the "On demand" option won't schedule anything but will allow you to trigger the backup manually or using our API.
Define the backup retention, which is the number of backups you want to keep (kind of the history length of your backup if you prefer)
Pick the name of your backup (this is how it will be displayed in SimpleBackups interface) and where you want to store it.
Select your storage (step 3)
That's it, your MySQL backup is now ready.
Run it once manually (using the "Run" backup button from the backups list) and you'll trigger your first backup!
If you have any questions on mysql backup to s3. We will give the professional answers to your questions.