Deployment retention refers to the configured policies that determine how long different types of deployments are kept before they are automatically deleted. These retention policies allow you to control how long your deployment data is stored, providing enhanced protection, compliance support, and efficient storage management.
Esadax provides unlimited deployment retention for all deployments, regardless of the plan you are using. You can configure retention durations for the following deployment states:
For example, if you set a 60-day retention period for a production deployment created on 01/01/2024 and later replace it with a newer deployment, the origin deployment will expire on 03/01/2024. Users accessing it will see a 410 status code until 03/31/2024, when all associated resources are permanently removed.
Once a retention policy is enabled, deployments within the retention period will start to be automatically marked for deletion within a few days of enabling the policy.
To configure a retention policy:
You can view your deployment retention policy using the Esadax CLI with the following command:
terminal esadax list [project-name] [--policy errored = 6 m]
If a deployment is marked for deletion accidentally or as part of the retention policy, it can be restored within a 30-day recovery period. To restore a deleted deployment:
Note: For advanced deployment restoration support, contact us to discuss Enterprise options. Contact Sales for more details.