Is it safe to delete redis dump and temp files from /var/lib/redis/

redis

I don't know anything about redis and right now i have to free disk space before it fills up.
I see some old redis files in /var/lib/redis/ and the file names are like

dump1252.rdb
dump1254.rdb
dump1256.rdb
dump1253.rdb
dump1255.rdb
temp-1982.rdb
temp-10259.rdb
temp-1586.rdb
temp-1248.rdb

Is it safe to delete old ones?

Best Answer

The redis database resides entirely in memory. The .rdb files are dumps to disk, for backup or persistence. It should be safe to delete them assuming you're sure you don't need the contents.