Storage configuration¶
Why this matters¶
When you upload files to ZaazCRM, they have to live somewhere. ZaazCRM supports several destinations:
- Local — on the server.
- S3 / Wasabi / similar — in the cloud.
- Remote WebDAV — another server accessible via WebDAV.
Create a configuration¶
- Sidebar → Settings → Storage → Create.
- Fill in:
- Name.
- Type — local, S3, WebDAV.
- For S3: bucket, region, access key, secret.
- For WebDAV: URL, user, password.
- For local: base path.
- Test connection.
- Save.
Default storage¶
One configuration must be marked default. New files go there unless otherwise specified.
Retention rules¶
- Maximum retention time — when soft-deleted files are purged.
- Old files to S3 — move old files to cold storage.
- Encryption — yes/no for sensitive data.
Quotas¶
- Per user.
- Per company (total).
- Per file type.
Migrate between storages¶
Admin command storage:migrate --from=local --to=s3 --older-than=12m.
Watch out for¶
- Don't change the base path of an active local storage.
- S3 access keys with broad permissions are dangerous — use bucket-specific keys.
- Quotas are hard limits — monitor usage.