Write files on the server running Redis at the specified location. Written data will appear amongst the database dump, thus it might not be suitable for all kind of purposes. IP=127.0.0.1
redis-cli -h $IP
config set dir dir_to_write_to
config set dbfilename 要写入的文件
set x "DATA"
save