---
title: "Storage, updates & backups"
description: "Separate data volumes, the private state volume, schema versioning, consistent backups and the current A/B update boundary."
url: "https://rumahl.com/developers/storage-updates"
section: "Operations"
group: "Platform"
updated: "20 October 2026"
---

# Storage, updates & backups

> Separate data volumes, the private state volume, schema versioning, consistent backups and the current A/B update boundary.

**Area:** Operations  
**Group:** Platform  
**Updated:** 20 October 2026  
**Reading time:** 7 min  
**HTML:** https://rumahl.com/developers/storage-updates

## Volumes

| Volume | Mount | Contents | Lifecycle |
| --- | --- | --- | --- |
| System slot A/B | / (read-only), /rumahl | OS and rumahl services | Replaced by an update |
| home | /home | User data | Persistent, backed up |
| apps | /apps | Installed apps and assets | Persistent, backed up |
| state | /var/lib/rumahl | Databases and secrets | Persistent, private, backed up |

## The state volume is private

The state volume is never mounted, symlinked or bind-mounted into a user- or app-visible path. Only the platform service mounts it, owner-only (0700). The path/grant policy denies every access and apps never receive a handle into it.

## Schema safety

- Every database records its schema version in PRAGMA user_version.
- Startup stamps a fresh database and refuses one written by a newer binary.
- A newer slot migrates in a transaction and bumps the version.
- An older slot refuses to start instead of corrupting shared state.
- Before a slot switch, the service checkpoints WAL and fsyncs.
- Backups use the SQLite online backup API, never a live file copy.

## Update boundary

Data safety and slot execution are deliberately split. The volumes are already separate, schema versions are enforced, and consistent snapshots are implemented. The inactive-slot writer, signature verification, boot artifact, rollback policy and update activation are still deferred.

> [!WARNING]
> **Do not document updates as complete**
>
> Signed updates and boot verification are separate milestones. The current contract only guarantees that update execution must never touch data volumes and must take a backup before the first migration in a new slot.
