Skip to main content

Checkpoint API

BGSAVE

Syntax

BGSAVE [SCHEDULE]

Save the DB in background.

Resp Reply

One of the following:

  • Simple string reply: Background saving started.
  • Simple string reply: Background saving scheduled.

SAVE

Syntax

SAVE

The SAVE commands performs a synchronous save of the dataset producing a point in time snapshot of all the data inside the Garnet instance.

Resp Reply

Simple string reply: OK.


LASTSAVE

Syntax

LASTSAVE

Return the UNIX TIME of the last DB save executed with success.

Resp Reply

Integer reply: UNIX TIME of the last DB save executed with success.