DBAtlas · Database operations atlas

Take an RDB snapshot in the background

RedisPersistence

Command

BGSAVE

What it does

Writes an RDB snapshot to disk in the background using a forked child process.

When to use it

When you want to take a backup or create a snapshot.

Caution

At fork time, memory usage can rise temporarily because of copy-on-write.

Open in DBAtlas →

Related