# Document storage duration

{% hint style="info" %}
Only archived documents count toward your account's storage image limit. You can [set a default storage](https://docs.reportandrun.com/manual/readme/report-generation/setting-default-storage-duration) value in the report, folder or space properties.&#x20;
{% endhint %}

{% hint style="warning" %}
You can only have 5 published reports that are not archived at a time. Delete any published reports and then delete them from the trash to continue generating reports.
{% endhint %}

1. Follow the basic [report generation steps](https://docs.reportandrun.com/manual/readme/report-generation/generate-a-pdf), but click the *Document storage duration* drop-down menu before creating the report.\
   ![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FEw8lxkG8JI6hV5zySqa3%2Fdoc-storage1.jpg?alt=media\&token=57576f01-8f5d-43ff-bea9-a2eca7e1f217)
2. Choose whether to Archive the report indefinitely, or store for 1 hour, 1 day, or 7 days.\
   ![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2F76YDVnTISMLf330Fb3ZW%2Fdoc-storage2.jpg?alt=media\&token=f10c91a6-f126-4919-9db8-525baf45f3ed)
3. Click **Create**.
