Skip to main content

Backups

Lium can back up a folder in your pod on a schedule. Backups are stored in S3 for your account and kept until they expire or you delete them, even after the pod is gone.

Creating your account's first backup storage requires a paid deposit. Signup, referral or admin credit alone does not count. Accounts with existing backup storage can continue creating backups.

Default backup for new pods​

On an account with a paid deposit or existing backup storage, every new pod is backed up unless you untick Back up the pod's volume when you rent it (CLI: lium up --no-backup; API: "enable_backups": false). Other accounts rent without a backup: the dashboard shows the option unticked (Backups need a deposit), and the rent response carries a backup_notice (also as the X-Lium-Backup-Notice header).

  • Backs up a new pod's local volume on a regular schedule and keeps 2 days of backups.
  • If newer backups keep failing, the last good backup is kept up to 7 days so you can still restore it.
  • If 3 backups you set up for a running pod fail or save nothing in a row, you get an email once. Check that the backup path exists and holds your data.
  • Default backups stay off on encrypted pods rented before 29 October 2026 until the pod is restarted. The pod's Backups tab shows Paused: restart the pod to resume (API: "paused": true on the backup configuration); a restart resumes them.
  • Skips caches (.cache, .npm, __pycache__) and credentials (.ssh, .aws, .docker and similar).
  • Pauses by itself while the volume is over 200 GB and resumes once it is back under 200 GB. The last backup is kept 7 days after the pause, and the pod page shows it. Configure your own backup for a bigger volume.

Backup path: the rule that matters​

The backup path must be /root or a folder inside it. /root is the pod's local volume.

Prefer a stable folder such as /root/checkpoints: it is faster and smaller than all of /root.

Volumes at /mnt are never backed up.

Configure a backup in the UI​

Open the form

On the pod page, click Backup.

Fill it in

  • Backup Path, e.g. /root/checkpoints.
  • Backup Frequency: 1 to 168 hours.
  • Retention: 1 to 365 days.

Save

Click Save. Open the same form to change or delete the schedule. Deleting it keeps your finished backups.

Backup Configuration modal on the pod detail page

Back up now​

On the pod's Backups tab, click Back up now, or run lium bk now <pod>.

See your backups​

  • One pod: the pod page, Backups tab.
  • All pods: Storage → Backups in the sidebar.

Global Backups page with filters and history

A Completed backup is ready to restore.

If a completed backup shows The folder being backed up is empty. Check the backup path., the folder was missing, empty or only held skipped files: point the backup at the folder that holds your data.

The Backups tab shows when the Next backup runs.

Billing​

  • Storage: $0.00005 per GB-hour (about $0.036 per GB-month), the same as a volume. It continues after the pod is deleted.
  • Transfer: data read out of backups is billed at what AWS charges.
  • Charged as it is stored: storage is taken from your balance as it accrues, at your backup storage's last measured size, and data read out within about 5 minutes of the read. While an auto backup may still make a day free, that day's storage and reads are taken once it ends. Each day's exact cost is settled about 2 days later and any difference is charged or returned. After you delete your account nothing more is charged; a day that turns out cheaper, or free through an auto backup, is still returned.
  • Deleting your account deletes your backups with it, in one step.

To stop paying, delete the backups you don't need.

Use the API or CLI​

# Create a backup configuration
curl -X POST https://lium.io/api/backup-configs \
-H "X-API-Key: $LIUM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pod_id": "<your-pod-id>",
"backup_path": "/root/checkpoints",
"backup_frequency_hours": 6,
"retention_days": 30
}'

# Start a manual backup
curl -X POST https://lium.io/api/pods/<pod-id>/backup \
-H "X-API-Key: $LIUM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "before-upgrade", "description": "Manual checkpoint"}'

# Delete the stored data for a completed backup
curl -X DELETE https://lium.io/api/backup-logs/<backup-id> \
-H "X-API-Key: $LIUM_API_KEY"

CLI: lium bk now / set / show / logs / delete (reference). You need an API key.