# Configure persistent file storage

Source: https://zotonic.com/docs/2993/configure-persistent-file-storage

URI: https://zotonic.com/id/2993

Language: en

Identify where the site's archive files, generated previews, backups, and security files are stored. These have different retention and recovery needs.

Keep persistent runtime data outside directories that a code deployment replaces. If using <a href="/id/1329" class="doc-reference doc-reference-module"><code>module#mod_filestore</code></a>, verify both the external storage configuration and retrieval behavior from the running site.

Upload a small test file, render a preview, and verify access after the relevant process restart. A successful database connection does not prove that media storage is working.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2993?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2993?language=en>)
