In fact, the file generated by the wizard at the time of SYNC is a regular snapshot file (i.e. an rdb file) written in the same place as any other rdb files.
This location is set in the Redis configuration file of the master instance - see the dir and dbfilename parameters.
For example, to dump in /data/redis/dump.rdb
Of course, the Redis user is started in order to have the appropriate access rights to this location.
Now, on the subordinate side, the dump file read from the main is copied to a temporary file, whose name is similar to temp-% d.% Ld.rdb (including timestamp and pid). The file is created in the working directory, which corresponds to the dir parameter in the configuration of the slave instance. Therefore, even if the RDB is not active on the slave side, the dir parameter must be set correctly and point to the directory with the appropriate access rights.
source share