SAVE
Performs a synchronous save.
Server & administration · Example verified
Syntax covered here
SAVEThe case verifies successful completion and a subsequent LASTSAVE timestamp. General graceful restart also passed, but backup restoration and crash recovery are not established.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> SET sample value
"OK"
# connection: default
> SAVE
"OK"
# connection: default
> LASTSAVE
1789988763