HomeInfrastructure & Architecture › Backup & restore

Backup & restore

Purpose: Know what must be backed up, the consistency requirements, and what restore actually looks like.

Who this page is for

AudienceWhy it matters to you
Platform engineersOwners
Tech leadsRPO/RTO conversations

What to back up

ItemWhyNote
Author repository (crx-quickstart/repository)THE content source of truthConsistency required (see below)
Datastore (binaries)AssetsMust be consistent WITH the node store — back up datastore first, then repo
Dispatcher/web configs, OSGi configsRebuild speedShould already be in git
Package/artefact repoRedeploy codeCI artefacts
Publish reposOptionalRebuildable from author (tree activation), but restore-from-backup is faster at scale

Code needs no backup — git + CI artefacts are the recovery path. Content is the crown jewel.

Consistency

A running TarMK repo can be backed up online (the repo tolerates copy-while-append if done in the right order, or use the online backup mechanisms/filesystem snapshots). The rule that matters: datastore before segment store, so every binary reference in the repo exists in the binary backup. Filesystem/EBS snapshots of the whole volume are the pragmatic standard.

Restore realities

Quick navigation