tporadowski / redis

Native port of Redis for Windows. Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs. This repository contains unofficial port of Redis to Windows.

Home Page:http://redis.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to upgrade without loosing db

diplopito opened this issue · comments

Hi Tomasz,

Thanks again for your great work. Question: Which is the best way to upgrade without loosing the Redis db?

Thanks in advance!

Have you had such a problem? As far as I know there is no special need to do anything here (apart from recommended backup like in any other database) - the upgrade is just stopping the process, replacing binaries, and starting it again - thus reading the database again from RDB/AOF. This could probably be different if there was a breaking change in RDB/AOF formats, but this case is likely covered in some Redis guide.

It worked flawlessly: I haven't done an upgrade in a while and I forgot how simple it is, thanks again!