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?

  • ElevenNotesB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago
    • container stop redis -t 120
    • cp -R --reflink /volumes/redis /backup/redis
    • container pull redis:7
    • container start redis

    Profit

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Use docker. Or compile redis yourself if the small overhead of docker would be too much (though that’s unlikely in this case).