QuickStackQuickStack
How ToBackups

Volume Backups

Schedule automated backups for QuickStack application volumes to S3-compatible storage.

Volume backup schedules run periodically and upload a snapshot of your app's persistent volume to an S3-compatible bucket.

Prerequisites

  • At least one S3 target configured
  • An app with at least one volume attached

Configure a volume backup schedule

  1. Open the app in the Project Canvas and go to Settings → Storage.
  2. Scroll to Backup Schedules and click Add Backup Schedule.
  3. Configure:
FieldDescriptionExample
Cron ExpressionWhen to run0 0 * * * (daily midnight)
RetentionNumber of backups to keep; oldest deleted when exceeded7
VolumeWhich volume to back upselect from list
Backup LocationWhich S3 target to useselect from list
Backup before deploymentRun this backup automatically before a deployment is applied (see below)off
Fail silently on deploymentContinue the deployment even if this backup failsoff
  1. Click Save.

Cron expressions Use crontab.guru to build and verify cron expressions.

Common patterns:

  • 0 0 * * * — daily at midnight
  • 0 2 * * * — daily at 2 AM
  • 0 0 * * 0 — weekly (Sunday midnight)

Manual trigger To test a schedule immediately, click the play icon next to the schedule in the table.

Back up before deployment

Enabling Backup before deployment turns a schedule into a safety net for deployments. Before QuickStack applies a deployment, it runs every matching schedule first:

  1. Open the app's backup schedule in the Project Canvas (app Backups tab, or Settings → Storage → Backup Schedules).
  2. Turn on Backup before deployment.
  3. Optionally turn on Fail silently on deployment.
  4. Click Save.

Which backups run

The pre-deployment backup covers the app being deployed and every app directly connected to it through a network policy (one hop in either direction, within the same project). This means deploying an app also protects the data of the databases and services it talks to.

Backups run one after another before the deployment starts. Their progress is written to the deployment log.

If a backup fails

  • Fail silently off (default) — a failed backup aborts the deployment. The app keeps running the previous version, so you do not deploy on top of unbacked-up data.
  • Fail silently on — QuickStack logs the failure and continues with the deployment.

A failing pre-deployment backup blocks deploys If deployments stop with "Deployment aborted because an automatic pre-deployment backup failed", fix the S3 target or volume backup, or enable Fail silently on deployment if you want to proceed anyway.

Monitoring

Navigate to Backups in the main menu to see:

  • Last run time and status (success / failure)
  • Backup size and storage location
  • Manual run button
  • A download action per backup. See Download & Restore.

Troubleshooting

ProblemFix
Schedule not runningVerify cron expression; check server time is correct
Upload failsConfirm S3 credentials; verify bucket exists with read/write/delete permissions
Deploy aborts with a pre-deployment backup errorFix the failing S3 target/backup, or enable Fail silently on deployment
Backup is unexpectedly largeCheck for leftover temp files inside the volume path

On this page