Skip to content

Back up your podcast

Keep the media, metadata, and deployment state you need to recover.

A metadata export is one part of a backup. It does not contain your audio files or everything needed to restore the installation.

Export metadata

From the source checkout:

npm run build
npm run backup -- https://YOUR_MANAGEMENT_HOST

The script uses an owner token from cloudflared access token, or R2CAST_MCP_TOKEN_FILE for a suitably scoped reader. It writes private NDJSON files under backups/.

The export includes working documents, revisions, released content references, release jobs, command receipts, audit records, distribution records, and migration data. If metadata changes during pagination, the export is rejected and the partial file is removed. Retry when the show is not being changed.

Back up the other pieces

Keep Why
Both R2 buckets, with object keys and metadata Public media and retained private originals
Directory storage and OAuth state Grants and connection state
Secrets and Cloudflare configuration Authentication and integration settings
Installation JSON and .alchemy/state Resource identity for upgrades and recovery
Matching application version The code that understands the saved data

Use your own authorized, private backup process for these. The metadata script does not export them.

Recovery

Automated full restore is not implemented. Test a manual recovery using matching metadata, media, state, and code before relying on a backup.

Do not roll an old publisher back over a newer release database. It may not understand which revisions are public. Upgrade and rollback notes

Type to search…

↑↓ navigate↵ selectEsc close