I have a server with Ubuntu 22.04 and comes with Redis 6.0.
The Redis server is running in production.
Is it possible to upgrade Redis from v6 to v7 in-place on Ubuntu 22.04? Or I need to create a new server?
You must log in or register to comment.
- container stop redis -t 120
- cp -R --reflink /volumes/redis /backup/redis
- container pull redis:7
- container start redis
Profit
I’m not sure what your conf is, but on a one node redis server, direct upgrade is possible.
Use docker. Or compile redis yourself if the small overhead of docker would be too much (though that’s unlikely in this case).