Volumes
A volume is a directory that keeps an app’s data when the app is replaced, redeployed or moved to a new image. It lives on the server of the first app it is mounted into.
Make one
In Cockpit, choose Create, then Volume, or add one on the Volumes tab of the New app form. Give it a name and a size from 512 MiB to 2 TiB. The size is a ceiling, enforced by Velrix; you pay for what is set aside. A volume can grow later, never shrink.
Mount it
On the volume (or the app’s Volumes tab), choose Attach, pick the app and the Mount path inside it, such as /data. The app restarts with it. A volume is mounted into one app at a time.
- Detach takes it out of the app. The data stays, ready to mount again.
- An app with a volume runs one copy: the volume is on one server. A deploy of such an app restarts it in place, briefly, instead of starting a new copy first.
- Delete is refused while the volume is mounted. Detach it first.
Grow
Resize takes a larger size. The app sees the room at once, with no restart.
Snapshots
Take snapshot keeps the volume as it is now, read-only, on its server. It is instant and takes no room until the volume changes. Restore snapshot makes the volume what it was then: anything written since is gone, and the snapshot stays. Delete snapshots you no longer need.
Snapshots are on the same server as the volume. For copies elsewhere, on a schedule, your operator’s backups take volumes too (Backups).
Projects
Move to project puts a volume in one of its organisation’s projects, or takes it out of any. Its data stays with its owner on its server, so a volume never changes owner. A volume mounted into an app outside the project can’t move.
Files
The Files app browses and edits what is on your volumes: folders, text files, spreadsheets as CSV, uploads by dropping files in, downloads. It opens only the volumes you let it into, and you can take any back under Permissions. Your own home has a Trash: what you remove goes there first, and Put back restores it.
Limits
How many volumes you may have, and how much space in all, are your operator’s quotas.