# Redis To rewrite the data in the appendonlydir exec into the container and run ```bash redis-cli BGREWRITEAOF ```