Difficulty: Beginner
What is the difference between SAVE and BGSAVE?
`SAVE` is synchronous and blocks the server. `BGSAVE` forks a background process to create the snapshot without blocking clients.
RDB, Backup
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.