redis

File Write

Write files on the server running Redis at the specified location. Written data will appear amongst the database dump. Keep in mind that it's actually the server to perform the file write.

redis-cli -h 127.0.0.1
config set dir /path/to/output-dir/
config set dbfilename output-file
set x "DATA"
save