Home Backfills

Max Heinritz

Backfills

Backfills are scripts run via the command line that change data in the production database. Backfills should be idempotent. There are two kinds of backfills:

Ideally backfills use service class methods rather than directly editing the database so that authorization, revision history, and logging codepaths are triggered consistently. But if they need to directly read/write from the database, that can be ok sometimes, especially for one-off backfills.