Skip to main content

Persistent Storage

By default, container data is ephemeral — it disappears with every redeployment. Persistent storage lets you preserve data between deployments by attaching volumes to your blocks.

Volumes

Fransys lets you add persistent volumes directly from your block's configuration, via the Storage tab. A volume is a dedicated disk space whose data survives redeployments, restarts, and application updates.

Use cases

  • User uploads — Files uploaded by your users (images, documents, etc.)
  • Application data — Files generated by your application that need to persist
  • Disk cache — Cache data that shouldn't be recalculated with every deployment

Configuration

From the Storage tab of your block, you define:

  • The volume size (in gigabytes)
  • The mount point in the container
info

Persistent storage is available on all application and database blocks. The volume size impacts the cost of your cluster — check the price details in your cluster configuration.

Volume backups

Automatic backups of persistent volumes are currently under development. This feature will allow automated backup and restore of your application data.

In the meantime, automatic backups are already fully operational for PostgreSQL.

→ Learn more: Backups