Dragonfly Cloud is now available on the AWS Marketplace - Learn More

Question: How do I backup data in Redis Enterprise?

Answer

Redis Enterprise provides a few ways to back up your data, including manual backups, scheduled backups, and backup to specific locations (local or cloud storage).

Here's an example of how to perform a manual backup using the Redis Enterprise UI:

  1. Navigate to the database that you want to backup in the Redis Enterprise UI.
  2. Select the "configuration" tab.
  3. Scroll down to the "Persistence" section.
  4. Under the "Backup" section, click on the "Backup now" button.

You can also schedule backups from the same screen:

  1. In the "Backup" section, select "Scheduled backup settings".
  2. Choose your preferred backup interval (for example, every 24 hours).
  3. Specify the location to store the backup. It can be a local path on the server or an AWS S3 bucket, an OpenStack Object Storage ("Swift") location, or a Google Cloud Storage bucket.

To specify an S3 bucket as the backup destination, for example:

aws-endpoint: s3.amazonaws.com bucket: name-of-your-bucket access-key: your-access-key secret-key: your-secret-key

Note that encryption is recommended for sensitive data when backing up to a public cloud.

For restoring data from backup:

  1. Navigate to the database you wish to restore in the Redis Enterprise UI.
  2. Select the "configuration" tab.
  3. Scroll down to the "Data persistence" section.
  4. Click on the "Restore from backup" button.
  5. Specify the backup file's location.

It's worth noting that during the restoration process, all current data in the database will be deleted and replaced with the data in the backup file.

Please refer to the official Redis documentation for Backup, Import, and Export for more information.

Was this content helpful?

White Paper

Free System Design on AWS E-Book

Download this early release of O'Reilly's latest cloud infrastructure e-book: System Design on AWS.

Free System Design on AWS E-Book

Switch & save up to 80% 

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement. Instantly experience up to a 25X boost in performance and 80% reduction in cost