CONFIG GET dir CONFIG GET dbfilename config set stop-writes-on-bgsave-error yes CONFIG SET dir /tmp CONFIG SET dbfilename temp.rdb