RDB · snapshot
RDB writes a point-in-time snapshot of the whole dataset to one compact binary file (dump.rdb). The file is small and loads quickly, which makes it good for backups and for moving a dataset to another machine. The cost is data loss: if Redis stops between two snapshots, every write made after the last snapshot is gone. BGSAVE also forks a child process to write the file. Parent and child share copy-on-write, so while the parent keeps accepting writes during the fork, memory use can rise noticeably.
dump.rdbSAVE / BGSAVEsave 900 1