> ## Documentation Index
> Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 6.2: Attachment exports and new job queues

> Storage permissions and job queues that 6.2's background attachment exports need.

**Applies to:** the upgrade to 6.2. Part of the [6.2 upgrade guide](https://formbricks.com/docs/self-hosting/upgrade/versions/6.2.md).
Check them if you manage your own storage bucket policy or run your own background-job consumer.

## What changes

* **Download attachments** builds the ZIP in the background, stores it in your bucket and emails the user a
  download link. Without [email](https://formbricks.com/docs/self-hosting/configuration/smtp.md), the ZIP streams to the browser as before.
* Export ZIPs stay in the bucket for 3 months under `<workspace>/private/surveys/<survey>/exports/`, then
  Formbricks deletes them.
* Four jobs get dedicated queues: `attachment-export` for exports, `data-retention` for the nightly retention
  sweep, and `authzed-projection` and `authzed-reconciliation` for the permission delivery and audits, which move
  off `background-jobs`.

## Before you upgrade

| Who | What to do |
| - | - |
| External S3, MinIO or other bucket | Add `s3:AbortMultipartUpload` to the policy of the Formbricks credentials. Add a lifecycle rule that aborts incomplete multipart uploads after one day. See [file uploads](https://formbricks.com/docs/self-hosting/configuration/file-uploads.md). |
| Buckets with versioning | Add a lifecycle rule that removes noncurrent versions, or deleted export ZIPs keep using space. |
| Bundled RustFS, Docker Compose | Update your RustFS setup script from [RustFS with Docker](https://formbricks.com/docs/self-hosting/configuration/docker-storage.md). It now applies the policy on every start, so the new permission reaches your existing policy. |
| Bundled RustFS, one-click | Nothing. The updater rewrites the setup script for you. |
| Custom job consumer | Serve the `authzed-projection`, `authzed-reconciliation`, `data-retention` and `attachment-export` queues too. Without `authzed-projection`, permission changes never reach SpiceDB and access checks fail. See [dedicated queues](https://formbricks.com/docs/self-hosting/configuration/job-runner.md#dedicated-queues). |

Users download export ZIPs straight from the bucket, so `S3_ENDPOINT_URL` must be reachable from their
browsers. File uploads already need this.

## Check it worked

Run **Download attachments** on a survey with uploaded files. You should get an email with a download link,
and the ZIP should download from your bucket.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.