Documentation menu

Platform

Volumes & Backups

Persistent volumes for services and databases - mount paths, single-writer rules, size, snapshots, restores and what happens on delete.

Containers are disposable: anything a service writes to its filesystem disappears on the next deploy. A volume is persistent storage that survives deploys, restarts and even deleting the service.

What a volume is

A volume is a regional disk owned by the project. Its identity is:

(project, environment, region, name)
text1 line
  • It is mounted at a path you choose (managed databases use their engine's data directory automatically).
  • It has one writer at a time: a single live replica mounts it.
  • It survives service deletion unless you explicitly choose to wipe it.

Attach a volume

  1. Open the service's Settings → Volumes and click Attach volume.
  2. Choose a name, a mount path (for example /app/data) and a size.
  3. Apply. Parslinks recreates the replica with the volume mounted.

Attaching or detaching is a storage operation, not a new release: the same deployment keeps running, with the volume added or removed.

One replica per region

Because a volume has a single writer, a service with a volume runs one replica in its region. Asking for more makes the instance report VOLUME_REPLICA_LOCK. Deploys of volume-backed services use a stop-first rollout: the old replica stops and releases the volume before the new one starts, so expect a brief gap during deploys.

If you need several replicas, move shared state to a database or object storage and keep the app stateless (Scaling & Regions).

Size

The size you set is the declared capacity you are billed for. The dashboard also shows used space measured from the volume. Size can be increased; it cannot be reduced. Plans limit the number of volumes and the size of each one (Starter: 10 volumes up to 10 GB; Pro: 50 volumes up to 200 GB).

Snapshots and backups

Parslinks can snapshot a volume to object storage:

Snapshot typeConsistencyUsed for
Filesystem (tar) snapshotCrash-consistent: like pulling the power cordGeneric app data
Database dump (pg_dump, Redis SAVE, mongodump)Application-consistentManaged databases that support it

For databases, prefer the dump-based backup: it captures a consistent state even while the database is writing.

Restore

Restoring creates a new volume from a snapshot. You then attach it to the service (or a new service) and deploy. Restoring into a new volume keeps the original untouched until you are sure the restore is good.

Deleting

  • Deleting a service keeps its volumes by default; you can reattach them later.
  • Choosing wipe volume while deleting a service requires project admin rights, and an extra confirmation when the project has a production environment.
  • Deleting a project follows the 14-day undo window before anything is purged (Deleting & Restoring).

Troubleshooting

  • Database starts empty after a change: the volume was not mounted (detached, or a new volume was created). Check the service's volume attachment before writing new data.
  • Cannot scale above 1: a volume is attached (VOLUME_REPLICA_LOCK).
  • Disk full: increase the size, then redeploy if the application needs to see the new capacity.