Redis
Manage local and remote Redis databases.
Create a scheduled database backup in Cron to protect your data.
Redis Overview

| Function | Describe |
|---|---|
Add a string key to the selected database | |
Change the value or expiration of an existing key | |
Add and manage remote Redis servers | |
Create, restore, or delete local Redis backups | |
Permanently delete all keys from the selected databases | |
Server selector | Choose the server for all actions. |
DB tabs | Switch databases. The number is the key count. |
Search key | Search keys by name in the current database. |
Key | Display the key name. |
Value | Display the stored value. Complex values are shown as text. |
Data type | Display the Redis data type, such as String, Hash, List, Set, or ZSet. |
Data length | Display the data length. |
Term of validity | Display the remaining TTL. Permanent means the key does not expire. |
Edit | Edit the selected key. The database and key name cannot be changed. |
Delete | Delete the selected key. Deleted keys cannot be recovered. |
Select multiple keys and use the batch action below the list to delete them together.
Add Key
Add a string key to the selected Redis database.

| Function | Describe |
|---|---|
Database | Select the logical database. It defaults to the current DB tab. |
Key | Enter the key name. An existing key is overwritten. |
Value | Enter the string value. |
Term of validity | Expiration in seconds from saving. Empty or 0 means permanent. |
This dialog creates String keys only. Use a Redis client to create Hash, List, Set, or ZSet data.
Edit
Change the value or expiration of an existing key.

- Database and Key cannot be changed in this dialog.
- Value and Term of validity can be changed.
- Saving a Hash, List, Set, or ZSet through this dialog writes a String value, which changes the key type. Use a Redis client to preserve complex data types.
- The expiration is relative to the time of saving. Saving a key with an existing TTL resets its countdown to the value you enter.
Remote DB
Add and manage Redis servers outside the local aaPanel instance.

- Enter the database address, port (
6379by default), password, and an optional note. - The password is required. Configure authentication on the remote Redis server before adding it here.
- The remote server firewall and the cloud provider's security group must allow the Redis port from this server.
- Local Redis does not accept remote connections by default. Configure remote access and authentication on the Redis server first.
- Remote Redis supports key management. Backing up or restoring remote Redis from aaPanel is not supported.
- Deleting a remote server removes only its aaPanel configuration; it does not delete the remote Redis data.
Backup list
Create and manage RDB snapshots of the local Redis instance.

- Backup immediately: Create a snapshot containing all logical databases on the local Redis instance. Remote Redis backup is not supported.
- Repair: Restore the selected snapshot. This overwrites all current data in the local Redis instance. Redis is stopped and restarted during the operation, so applications may lose their connection briefly. Back up the current data before continuing.
- Del: Permanently delete the selected backup file.
Clear DB
Permanently delete all keys from the selected Redis logical databases.

- Select one or more databases, or use Select all.
- This operation clears every key in the selected databases.
- Cleared data cannot be recovered, and Redis has no recycle bin. Back up the data before continuing.
Feedback or Suggestions
If you encounter problems or suggestions during use, please contact us through the following methods:
- (Please describe in
detailor providescreenshots)
Email: [email protected]
Discord: https://discord.gg/Tya5yceBpd
Telegram: https://aapanel.com/tg
GitHub: https://github.com/aapanel/aapanel
If you like aaPanel, please give it a Star