# Redis - integration with Shopware 6.7 questions

**URL:** https://forum.shopware.com/t/redis-integration-with-shopware-6-7-questions/108010
**Category:** General Questions (EN)
**Tags:** general
**Created:** [7. Oktober 2025 um 09:11 UTC](https://forum.shopware.com/t/redis-integration-with-shopware-6-7-questions/108010 "2025-10-07T09:11:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anatol](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@anatol](https://forum.shopware.com/u/anatol)
#### Post date: [7. Oktober 2025 um 09:11 UTC](https://forum.shopware.com/t/redis-integration-with-shopware-6-7-questions/108010/1 "2025-10-07T09:11:22Z")

</div>

I am testing the integration of Redis with Shopware 6.7 and have several questions.  
I am using two Redis instances: one for ephemeral data (cache) and one for persistent data.  
My settings for persistent data are stored in **`config/packages/shopware.yaml`**

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/d/d/ddb3961d148cfede7c2936c191f946557b1e8f09.png)

My first question is about switching the **number\_range** to Redis, which belongs to the persistent instance. According to the [Shopware 6.7 documentation](https://developer.shopware.com/docs/guides/hosting/performance/number-ranges.html):

> Migrating between storages
> 
> You can migrate the current state of the number ranges from your current storage to a new one by running the following CLI command:
> 
> ```bash
> bin/console number-range:migrate {fromStorage} {toStorage}
> 
> ```
> 
> For example, if you want to migrate from the default `SQL` storage to the high-performing `Redis` storage, the command is:
> 
> ```bash
> bin/console number-range:migrate SQL Redis
> 
> ```

However, when I try to perform this migration after switching to Redis, I get the following error:

> php bin/console number-range:migrate SQl Redis
> 
> [WARNING] Migrating the number range increments during load may lead to duplicate numbers being generated.
> 
> Are you sure you want to continue? (yes/no) [yes]:
> 
> yes
> 
> In IncrementStorageRegistry.php line 35:
> 
> [Shopware\Core\System\NumberRange\Exception\IncrementStorageNotFoundException]  
> The number range increment storage „SQl“ is not available. Available storages are: „redis“.

This seems to contradict the documentation.

1. How should this migration be done correctly? Is it necessary to perform this migration at all?
2. During a full project backup, whether for migrating to a development environment or restoring data to the project, we back up the files and perform a MySQL dump.  
After integrating Redis, should we also back up the Redis database separately?
