Redis Cloud |
---|
You can import an existing dataset into your Redis Cloud instance from an existing Redis server or an RDB file.
Data imported into an existing database overwrites existing data.
Make sure the Redis version of the source database is compatible with the database where the data will be imported.
To import a dataset from any publicly available Redis Open Source server:
6379
.If you have an RDB or a compressed RDB file from a previous backup, you can restore data from that file into your Redis Cloud database.
Select the tab for your storage location type.
Select Databases from the Redis Cloud console menu and then select your database from the list.
Select Import.
Enter the details for the RDB file:
<protocol>://[username][:password]@hostname[:port]/[path/]filename.rdb[.gz]
Where:
protocol
- Server protocol: ftp, ftps, http, httpsusername
- Your username, if necessarypassword
- Your password, if necessaryhostname
- Hostname or IP address of the serverport
- Port number of the server, if not 6379
path
- Path to the file, if necessaryfilename
- Filename of the RDB file, including the .gz
suffix if the file is compressed@
, \
, or :
, you must URL encode (also known as Percent encode) these special characters. If you don't, your database may become stuck.