Import a Redis database using a database tool
There are many database tools you can use to connect and manage your database; we have step-by-step instructions for TablePlus, as this tool allows you to manage all the database types you can host on Sevalla. You can use any database client or tool that supports your database type. While some specifics, like navigation and field names, may vary between database tools, the fundamental concepts are the same.Export a Redis database using the command line interface (CLI)
You cannot currently import a Redis database to Sevalla’s Database Hosting via the command line. As a workaround, you can use a database client like TablePlus to import your Redis database to Sevalla.
Install Redis
If you do not yet have Redis installed on your local machine, you’ll need to install it to connect to your database. Depending on your operating system, you can install Redis in the following ways.Windows
Redis is not currently supported on Windows, but you can use the Windows Subsystem for Linux (WSL2) and follow the Debian-based Linux instructions as a workaround.MacOS
With Homebrew:brew install redis
.
Debian-based Linux (Debian, Ubuntu, Mint, etc.)
Use the official packages.redis.io APT repository.RedHat-based Linux (RedHat Fedora, CentOS, etc.)
Install via snap:sudo snap install redis
.
Sevalla database credentials
You can find your database credentials under External connections on the database Overview page.Export a Redis database
Use the following command to export the database, replacing EXTERNAL_HOSTNAME, PORT, and PASSWORD with the information from your database’s External connections. Replace export.rdb with the path and file name of the database you want to export:redis-cli
command.