Bobcares

AWS RDS MySQL backup and restore

by | Apr 29, 2022

Wondering how to configure AWS RDS MySQL backup and restore? We can help you.

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.

Let’s take a look at how our Support Team help a customer  deal with this query.

How to configure AWS RDS MySQL backup and restore?

Basically, Amazon RDS for MySQL creates and saves automated backups of your DB instance during the backup window.

A storage volume snapshot of your entire DB instance (and not just individual databases) is created.

Amazon RDS then saves the automated backups of your DB instance according to the backup retention period that you specify.

During the backup retention period, you can recover your database to any point in time.

However, if your DB instance doesn’t have automated backups enabled, you can enable this setting at any time.

To enable automated backups, set the backup retention period to a positive nonzero value.

When automated backups are enabled, your RDS instance and database is taken offline and a backup is immediately created.

The outage occurs when you change the backup retention period from “0” to a nonzero value, or from a nonzero value to “0”.

This behavior applies to both Single-AZ and Multi-AZ DB instances.

You can also use a cron job to schedule a backup of your Amazon RDS for MySQL instance using either the mysqldump or mysqlbinlog utility.

Or, you can perform a manual backup using the AWS Command Line Interface (AWS CLI).

The manual snapshots aren’t subject to the backup retention period and will not expire.

Enabling automated backups

To enable automated backups in Amazon RDS, perform the following steps:

1.    Firstly, open the Amazon RDS console.

2.    From the navigation pane, choose Databases.

3.    Then, select the DB instance that you want to modify.

4.    Choose Modify. The Modify DB instance page will appear.

5.    For Backup retention period, choose a positive nonzero value (such as “3”).

6.    Next, choose Continue.

7.    Choose Apply immediately.

8.    On the confirmation page, choose Modify DB instance to save your changes and enable automated backups.

Note: When you delete a DB instance, you can still retain automated backups. Retained automated backups include the following:

  • System snapshots of a DB instance
  • Transaction logs from a DB instance
  • DB instance properties

[Looking for a solution to another query? We are just a click away.]

Conclusion

To sum up, our skilled Support Engineers at Bobcares demonstrated how to configure AWS RDS MySQL backup and restore

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.