Problem Description:

By modifying redis.confSet the maximum number of times that data can be modified in Redis within the specified time [s]. After the dump. RDB file is generated, the maximum number of times that data can be modified in Redis client is found inusr/local/binDump. RDB = dump. RDB = dump. RDB = dump.find / -name dump.rdbAfter the command is executed, the file is located in/rootUnder the

Solutions:

  • After connecting to Redis, passconfig get dirGets the working directory to write to
  • The generated dump.db is stored in this directory
  • If you need to modify the directory, go toconfig set dir xxxTo configure

  • After modification, the dump. RDB file can be seen in the specified directory by modifying the data in Redis a specified number of times