copy from https://github.com/huangz1990/redis/blob/master/topic/persistence.rst