Grafana Dashboard snapshot is being delete

We are using Grafana version 11.5.2, and we have two environments: preprod and prod. When we take a snapshot in the preprod environment and set its lifespan to ‘never,’ the snapshot remains available indefinitely. However, when we do the same in the prod environment, the snapshot is not available for more than two days.
Could someone help me on this issue.
Thanks

Check Grafana Configuration :

  • In your prod environment, go to the Grafana configuration file (usually grafana.ini) and check the snapshot.expiration setting.
    • Make sure it’s set to 0 or never, which means snapshots won’t expire automatically.

Search snapshot in grafana.ini file

[snapshot]

expiration = 0

Note: Ensure both environments are running the same version of Grafana. If one is outdated, update it to match the other.