Learn

Redis Community to Redis Cloud

Before migrating to Redis Cloud, you should evaluate the migration and consider the best option. Read this guide to determine which migration strategy is right for you.

Offline data migration#

To import a dataset from any publicly available Redis server:

  1. 1.Select Databases from the Redis Cloud console menu and then select the target database from the database list.
  2. 2.Select Import.
  3. 3.Enter the source database details:
  4. 4.Source type - Select Redis.
  5. 5.Redis Hostname/IP Address - Enter the hostname or the public IP address of the source Redis server.
  6. 6.Redis port - Enter the port of the source Redis server if it is not the default value of 6379.
  7. 7.Password - Enter the password, if required by the source Redis database.
  8. 8.Select Import.
  9. 9.Validate your migration and redirect your application’s traffic to the new Redis Cloud endpoint.

References:

Live data migration#

  1. 1.Connect to your Redis Cloud Database
  2. 2.Use REPLICAOF command to replicate the database
REPLICAOF 127.0.0.1 6799

3. Use the REPLICAOF command with the NO ONE option to stop replication.

REPLICAOF NO ONE

4. Validate your migration and redirect your application’s traffic to the new Redis Cloud endpoint.

References: