Linux

Where Does Cosmos Server Store Data?

Where Cosmos keeps server config, app data and compose state.

Last updated

Cosmos keeps server config plus per-app data and certificates in its data tree, deployed through compose with named volumes or bind mounts. The dashboard edits the same files the stack reads.

Confirm exact paths from your compose mounts, since defaults shifted across Cosmos eras. Keep secrets and data together; fresh installs generate new credentials that orphan old encrypted stores.

Where Cosmos Server stores this, by platform

Linux
<cosmos data>/config

Server config plus app data and certificates under the data mount. Verify against your compose volumes; eras differ. Back up data with .env secrets as a set.

Frequently asked questions

How do I migrate Cosmos to a new host?

Back up the Cosmos data directory plus the compose project and .env secrets together. Services reference data paths absolutely, so restore to matching locations or repoint them.

Where is my Cosmos data folder?

Inspect the compose file and volume mounts on your install. Cosmos generations moved defaults, so the mounts in your running compose are the only trustworthy map.

Notice an outdated path? Let us know.