Issues with loading dump file in to redis database -


i have dump.rdb file obtained redis server. trying load dump file in redis database unsuccessful. here sequence of steps performed:

  1. stop redis on machine sudo /etc/init.d/redis_6379 stop
  2. copy dump file on system

sudo cp downloads/dump.rdb ../../../var/lib/redis/6379/

  1. start redis sudo /etc/init.d/redis_6379 start
  2. open client connection locally redis-cli
  3. check dbsize

dbsize (integer) 0

not sure doing wrong. newbie redis , went through other answers explaining how load dump file unsuccessful.

check redis.conf configuration file make sure dbfilename , dir configurations match of dump file.

# name of dump file dbfilename dump.rdb  # directory name of dump file. dir /var/lib/redis/6379/ 

ensure dump.rdb file has proper permissions setting; i.e. user:group should redis:redis , mode 644.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -