Back up a database
The backup options for Redis Enterprise Cloud databases depend on your plan:
Flexible and Annual subscriptions can perform backups on-demand and schedule daily backups that occur during a set hour.
Paid Fixed plans can perform backups on-demand and schedule backups that occur every 24 hours.
Free plans cannot perform backups through the Redis Cloud console.
Backups are saved to predefined storage locations available to your subscription.
Backup locations need to be available before you turn on database backups. To learn more, see Set up backup storage locations
Here, you’ll learn how to store backups using different cloud providers.
Turn on backups
To turn on database backups:
Sign in to the Redis Cloud admin portal. (Create an account if you don’t already have one.)
If you have more than one subscription, select the target subscription from the list. This displays the Databases tab for the selected subscription.
Select the database to open the Database page and then select Edit database.
In the Durability section of the Configuration tab, locate the Remote backup setting:
When you enable Remote backup, additional options appear. The options vary according to your subscription.
|Interval||Defines the frequency of automatic backups. Paid fixed accounts are backed up every 24 hours. Flexible and Annual subscriptions can be set to 24, 12, 6, 4, 2, or 1 hour backup intervals.|
|Set backup time||When checked, this lets you set the hour of the Backup time. (Flexible and Annual subscriptions only)|
|Backup time||Defines the hour automatic backups are made. Note that actual backup times will vary up in order to minimize customer access disruptions. (Flexible and Annual subscriptions only)
Times are expressed in Coordinated Universal Time (UTC).
|Storage type||Defines the provider of the storage location, which can be:
|Backup destination||Defines a URI representing the backup storage location.|
Back up data on demand
After backups are turned on, you can back up your data at any time. Use the Backup now button in the Durability section.
You can only use the Backup now button after you turn on backups.
Set up backup storage locations
Database backups can be stored to a cloud provider service or saved to a URI using FTP/FTPS.
When stored to a cloud provider, backup locations need to be available on the same provider in the same region as your subscription.
Your subscription needs the ability to view permissions and update objects in the storage location. Specific details vary according to the provider. To learn more, consult the provider’s documentation.
The following sections help set things up; however, provider features change frequently. For best results, use your provider’s documentation for the latest info.
To store backups in an Amazon Web Services (AWS) Simple Storage Service (S3) bucket:
In the AWS Management Console, use the Services menu to locate and select Storage > S3. This takes you to the Amazon S3 admin panel.
Use the Buckets list to locate and select your bucket. When the settings appear, select the Permissions tab, locate the Access control list (ACL) section, and then select the Edit button.
When the Edit access control list (ACL) screen appears, configure the bucket’s Access Control List to give access to Redis Enterprise Cloud.
- Select Add grantee.
- In the Grantee field, enter:
- In the Objects list, select Write.
- In the Bucket ACL list, select Read and Write.
- Select Save.
Once the bucket is available and the permissions are set, use the name of your bucket as the Backup destination for your database’s Remote backup settings. For example, suppose your bucket is named backups-bucket. In that case, set Backup destination to
To learn more, see Configuring ACLs for buckets on the AWS docs.
For Google Cloud Platform (GCP) console subscriptions, store your backups in a Google Cloud Storage bucket:
Sign in to Google Cloud Platform console.
In the admin console menu, locate the Storage section than select Cloud Storage > Browser.
Create or select a bucket.
Select the overflow menu (three dots, stacked) and then select the Edit Bucket Permissions command.
Select the Add members button and then add:
Set Role to Storage Legacy | Storage Legacy Bucket Writer.
Save your changes.
Verify that your bucket does not have a set retention policy.
To do so:
View the details of your bucket.
Select the Retention tab.
Verify that there is no retention policy.
If a policy is defined and you cannot delete it, you need to use a different bucket.
Use the bucket details Configuration tab to locate the gsutil URI. This is the value you’ll assign to your resource’s backup path.
To learn more, see Use IAM permissions.
Azure Blob Storage
To store your backup in Microsoft Azure Blob Storage, sign in to the Azure portal and then:
Create an Azure Storage account if you do not already have one.
Create a container if you do not already have one.
Set your resource’s Backup Path to the path of your storage account.
The syntax for creating the backup varies according to your authorization mechanism. For example:
- storage_account_access_key: the primary access key to the storage account
- storage_account_name: the storage account name
- container_name: the name of the container, if needed.
- path: the backups path, if needed.
To learn more, see Authorizing access to data in Azure Storage.
To store your backups on an FTP server, set its Backup Path using the following syntax:
- protocol: the server’s protocol, can be either
- username: your username, if needed.
- password: your password, if needed.
- hostname: the hostname or IP address of the server.
- port: the port number of the server, if needed.
- path: the backup path, if needed.
The user account needs permission to write files to the server.