kevy4.0

BGSAVE

Start a snapshot save in the background.

BGSAVE
Group
Server
Since
1.0.0
Arity
exactly 1
Flags
write admin

Complexity

O(S) fan-out; O(N/S) copy-on-write freeze per shard on the reactor, then serialise off-thread

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

replies +OK rather than Redis's status line, and writes one dump per shard

See also

BGREWRITEAOFCLIENTCLUSTERCOMMANDCONFIGDBSIZEDEBUGFLUSHALLFLUSHDBINFOMEMORYSAVESHUTDOWNSLOWLOG

← All commands