Redis strange behavior
-
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
https://docs.nodebb.org/en/latest/upgrading/index.htmlBacking 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.
Thanks.