Manual Snapshots

Difficulty: Beginner

Question

What is the difference between SAVE and BGSAVE?

Answer

`SAVE` is synchronous and blocks the server. `BGSAVE` forks a background process to create the snapshot without blocking clients.

Concepts covered

RDB, Backup