Thank you for your response. From what I understand, Grafana Loki has a feature (e.g., compactor) that allows the preservation of chunks and indexes. This feature keeps the chunks for a specified amount of time.
What I am looking for is a way to have the chunks deleted after 7 days and to back up the logs for those 7 days separately, so that even after time has passed, the 7-day logs can be re-uploaded and reviewed. Is there a feature that supports this?