BgsaveCommand: Contents
  BGSAVE
    Return value

BgsaveCommand

#sidebar ControlCommandsSidebar

BGSAVE

Save the DB in background. The OK code is immediately returned.Redis forks, the parent continues to server the clients, the childsaves the DB on disk then exit. A client my be able to check if theoperation succeeded using the LASTSAVE command.

Return value

Status code reply