---
title: "Storage"
description: "Folders kept across deploys, and files mounted into the container."
url: "https://cyantula.app/docs/apps/build/storage/"
updated: "2026-12-03"
---

For app publishers

Folders kept across deploys, and files mounted into the container.

### What this is

This page is about where your app keeps things. When cyantula **deploys** your app (puts a version online), the app runs in a **container**: a sealed box with its own small disk. That disk is wiped on every deploy, so anything the app saves there is lost. This page has three ways to keep things safe: **Databases**, **Persistent folders** and **Files**.

If your app stores anything, such as uploads or user data, check this page. It is how you avoid losing it.

### Where to find it

1. Open the page and click your app.
2. Switch to at the top of the app page.
3. Click the card , then .

This page is in the Advanced view. If your app already uses a database, a persistent folder or an uploaded file, the Simple view lists **Storage** under **Also in use on this app** on the app page. When cyantula suggests a folder or a file, a number appears next to **Storage**, and it shows in the Simple view too.

### What you see

Three cards, one under the other.

**Databases.** The databases your app has. A *database* is where an app keeps its data in an organised way. The list shows the kind (**PostgreSQL**, **MySQL / MariaDB**, **MongoDB**, **Redis** or **Qdrant (vectors)**), its name, and how the connection is handed to the app. Every database lives on cyantula&#39;s shared servers with a name, user and password of its own for your app. cyantula gives the app its connection on every deploy, so the app never holds the password itself. Its data survives every redeploy. Under the list there is a drop-down called **Database engine** and the button **Attach database**.

**Persistent folders.** Folders whose content survives restarts, redeploys and going back to an earlier version. The list says for each one:

- : cyantula&#39;s AI review found that the app writes there, and keeps the folder for you.
- : you added it. It has a button.

A yellow notice may say **Claude spotted data written to a folder a redeploy would wipe**, with the folder, the reason, and the buttons **Keep this folder** and **Dismiss**. At the bottom is a box (the example shows `/app/uploads`) and a **Keep this folder** button.

**Files.** For a file the app has to open from disk, such as a credentials file, a certificate or a licence key. You upload it here instead of putting it in the code. The app can only read it, never change it. The table has **File** and **Mounted at**. Under **File** you see its size and upload date. Under **Mounted at** you see the path where the app will find it, and **read-only**. A yellow notice may say **Claude sees this app open a file the repository does not carry**, with **Upload this file** and **Dismiss**. Below the table there is a file picker, a box for the path, a box **variable holding the path (optional)** and the **Upload** button. When the app has a dev address, a list lets you pick **live + dev** or **dev only**.

### How to attach a database

1. In , open and pick the kind. If you do not know, use . It is the usual choice.
2. Click .
3. A window asks It tells you cyantula creates a database with its own user and password and gives the connection to the app, that a running app is redeployed right away, and that data the app only kept in memory is not carried over. Click .
4. A message says the database is attached and the next deploy creates it.

The app&#39;s code has to use the database. If you are not the builder of the app, ask them to make the app use the database cyantula provides.

### How to keep a folder

Use this when the app saves files itself, for example uploads.

1. If cyantula suggests a folder, check the reason and click .
2. Otherwise type the folder&#39;s path in the box, for example , and click . The path is where the app writes, inside its container. Ask whoever built the app if you are not sure.
3. A message says cyantula keeps the folder from the next start on. Changing this list restarts the app.

You know it worked when the folder appears in the list as **kept by you**.

Click **Dismiss** on a suggestion if the folder does not need to be kept. It is not suggested again.

### How to stop keeping a folder

1. Click on the folder&#39;s row.
2. Your browser asks and explains that the app then writes to its own wiped disk again. Files already saved stay on cyantula&#39;s disk until the app is deleted. Confirm.
3. A message says the folder is no longer mounted.

### How to upload a file for the app

1. In , click the file picker and choose the file.
2. In the path box, type where the app should find the file, including the file name. If you leave it empty, a path is suggested from the file name. Give the full path of the file, not only its folder.
3. If the app expects to find the file&#39;s location in a setting, type that setting&#39;s name in . cyantula then fills it in for you.
4. If you see the list, choose where the file applies.
5. Click . The button says .
6. A message says the file is mounted at that path. The addresses that read it restart.

When cyantula suggests a file, click **Upload this file** next to it. The path is filled in, and the file picker opens.

### How to remove an uploaded file

1. Click on the file&#39;s row.
2. A window asks and tells you nothing is mounted there any more, and the app sees no file on its next start. Click .

### When something looks wrong

- Attach one, or keep a folder.
- This is right for an app that keeps all its data in a database.
- Normal.
- and a reason, under the card. Nothing was uploaded. Check the path and the size, and try again. The card shows the limit on the number of files and their size.
- Your data disappeared after a deploy: the app saved it in a folder that is not kept. Keep that folder, or attach a database.

### Good to know

- Only people who manage the app can change storage.
- A deploy wipes everything the app writes outside a kept folder or a database.
- Uploading over a path that is already used replaces that file.
- Persistent folders and databases are part of the backup. See .
- The dev address gets folders of its own. A test version never touches the live app&#39;s files.
- Databases do not belong in a folder. cyantula sets those up separately.
- Attaching a database redeploys a running app straight away.
- Any password the app needs for a database is created by cyantula. You do not type one in.
