my nodebb just have less data,i can not bear this price .
i think i shoule use redis continue.
Thanks a lot
I'm new to nodeBB and Redis.
Having said that, I am so confused by Redis behavior along with nodeBB.
Reading the docs-Upgrading NodeBB
Backing up Redis
As with all upgrades, the first step is to back up your data! Nobody likes database corruption/misplacement.
All of the textual data stored in NodeBB is found in a .rdb file. On typical installs of Redis, the main database is found at /var/lib/redis/dump.rdb.
However, during heavy tweak/installation of nodeBB, sometimes, dump.rdb appears under my user's home root /home/ken/dump.rdb.
I try to figure out which dump.rdb is actually connected to nodeBB and updated, and observed the time-stamp with redis-cli save/bgsave.
The dump.rdb under the home is updated, and /var/lib/redis/dump.rdb is not updated.
Sometimes, redis-cli save reflect redis-server log, sometimes does not.
Does someone have same kind of trouble? If I miss something, please let me know.
The redis server will read from whichever file is the
dbfilename inside the
dir directory. You can find both those values in your redis configuration file, which by default is in
Thanks @julian , I understand that.
/etc/redis/redis.conf is configured as│dir /var/lib/redis
Actually, I sort of knew this, but if so, it does not make any sense dump.rdb appears under the home/username/ directory...