Emergency Hamburg Wiki

Storage Targets

Where a page goes when it is saved.

Storage Targets

Content is written to every target that claims it, and read from one. Those are two separate
questions with two separate answers.

flowchart LR
  U[Upload] --> S{Which targets claim this type?}
  S --> DB[(Database)]
  S --> D[Disk]
  S --> G[Git]
  DB --> R[Served to readers]

The targets that ship

Key What it is
db Bytes in the asset’s own row. Always on.
disk The wiki’s tree as files
git That same tree, with history and a remote
s3 S3, and anything speaking its API
azure Azure Blob Storage
gcs Google Cloud Storage
sftp The tree on another host. A copy, never a source.

Caution

A pull from a git remote is authoritative, and that includes deletions. Push access to the remote
is effectively write access to the wiki.

See also