> For AI agents: the complete documentation index is available at https://www.tteam.icu/llms.txt, the full documentation bundle is available at https://www.tteam.icu/llms-full.txt.

# redis-shake

RedisShake 是 Redis 数据迁移与处理服务。

[官方文档](https://tair-opensource.github.io/RedisShake/zh/)

[开源仓库](https://github.com/tair-opensource/RedisShake)

## 启动

```sh file="./redis-shake/setup.sh" title="setup.sh"
#!/bin/bash

name=redis-shake

docker stop ${name}
docker rm ${name}

docker run -id \
--restart=always \
--network=host \
--name=${name} \
-v ./config/shake.toml:/app/shake.toml \
buyfakett/redis-shake \
/app/redis-shake /app/shake.toml
```

## 配置

```toml file="./redis-shake/config/shake.toml" title="shake.toml"
[sync_reader]
cluster = false
address = "192.168.1.1:6379"
password = "password"
tls = false
sync_rdb = true
sync_aof = true

[redis_writer]
cluster = false
address = "192.168.1.1:6380"
password = "password"
tls = false
```

:::tip
目标 Redis 需要配置足够的内存，否则会直接导致这个程序 OOM。
:::
