Performs a background save.
异步执行写入到磁盘。即手动触发将内存中的数据持久化到磁盘中,通常用于RDB持久化的模式下。(跟save类似,不同的是,save是同步的,会阻塞进程。详细区别请参考:https://www.daixiaorui.com/read/230.html)
Parameters
None.
Return value
BOOL: TRUE in case of success, FALSE in case of failure. If a save is already running, this command will fail and return FALSE.
Example
$redis->bgSave();