Database Backups
You can run scheduled and on-demand backups of your Redis Cloud databases to a remote storage location. In Redis Cloud Essentials, a scheduled backups run every 24 hours; in Redis Cloud Pro, you can choose the backup interval and time.
Can I export my Redis data from Redis Cloud?
Absolutely! There is no lock-in with Redis Cloud. Using the instructions on this page, you can export your latest RDB backup file from your cloud storage, FTP or HTTP server to any Redis server of your choice.
Backing up to Amazon Simple Storage Service (AWS S3)
To use an S3 bucket for storing backups, first access your AWS Management Console and follow these steps:
- Go to the AWS S3 Management Console in: Services > Storage > S3
- Configure the permissions for your S3 bucket:
- For a new bucket:
- Click Create Bucket.
- Enter a name and region for the bucket and click Next.
- Set the bucket properties that are required by your company standards, and click Next.
- Set Public access properties according to your company standards, and click Next.
- Review the properties, and click Create bucket.
- Find your bucket in the bucket list, and click on the bucket name.
- In Permissions > Access Control, click Add account:
- In the Account field enter:
fd1b05415aa5ea3a310265ddb13b156c7c76260dbc87e037a8fc290c3c86b614
- Select the Write objects, Read bucket permissions, and Write bucket permissions, and click Save.
- In the Account field enter:
- For an existing bucket, click on the S3 bucket and go to the Permissions tab.
- Click Add account.
- In the Access for other AWS accounts section, enter:
- In the Account field enter:
fd1b05415aa5ea3a310265ddb13b156c7c76260dbc87e037a8fc290c3c86b614
- Select the permissions that you need.
- In the Account field enter:
- Click Save.
- For a new bucket:
After the permissions are set for your bucket, set the Backup Path to the path of your S3 bucket
and click Apply. For example, if the name of your bucket is backups-bucket, use the path: s3://backups-bucket
Backing up to Google Cloud Storage (GCS)
For Google Cloud Platform (GCP) console subscriptions, to use a GCS bucket for storing your resources’ backups:
- Login to your account on Google Cloud Platform
- Navigate to Storage -> Browser
- Click on the three dot button (1) on your relevant bucket name and
choose Edit bucket permissions (2).
- Under Add members, enter:
service@redislabs-prod-clusters.iam.gserviceaccount.com
- For the role, select Storage Legacy -> Storage Legacy Bucket
Writer.
- Click on the Add button.
Once your bucket’s permissions are set, you can use it with your resource by setting its Backup Path to the path of your GCS bucket and clicking the Activate button. For example, if your backups bucket’s name is backups-bucket, use the path:
gs://backups-bucket
Backing up to Azure Blob Storage (ABS)
To use an ABS container for storing your resources’ backups, follow these steps in your Microsoft Azure Management Portal:
Create an Azure Storage account
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-create?tabs=azure-portal
Create a container
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-portal
Manage storage account access keys
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal
Set your resource’s Backup Path to the path of your ABS storage account and clicking the Apply button using the following syntax:
abs://:storage_account_access_key@storage_account_name/container_name/[path/]
Where:
- 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.
Backing up to an FTP Server
To store your resource backups on an FTP server, set its Backup Path using the following syntax:
<protocol>://[username]:[password]@[hostname]:[port]/[path]/
Where:
- protocol: the server’s protocol, can be either ftp or ftps.
- 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 backups path, if needed.