Context
@jcrespo asked for this in T411583#12074470. We excluded the caches and logs. The index and db decisions are still open. We need to confirm that a restore yields a working Gerrit. We also need to confirm that nothing essential was dropped or made slow to regenerate.
This also produces a number that T257744: Decide if Gerrit's indices should get backed up needs. That task, filed by @QChris, asks whether the Lucene index should be backed up at all. The answer depends on the reindex time.
Scope
- Restore a snapshot taken after 2026-06-30 16:00. That is after the trailing-slash fix took effect.
- Restore gerrit-repo-data on a test host.
- Bring up Gerrit against the restored /srv/gerrit.
- Confirm git repos and LFS are intact.
- Confirm Gerrit starts.
- Confirm caches and the Lucene index regenerate on their own in an acceptable time.
- Confirm no data loss beyond regenerable caches and index.
- Measure the offline-reindex time for 1.3M changes. Measure the cache-rebuild time.
Acceptance criteria
- A documented, successful restore to a working Gerrit on a test host.
- Reindex and cache-rebuild times measured and recorded. Feed them into T257744: Decide if Gerrit's indices should get backed up.
- Confirmation that the excluded paths (cache, logs) are not required for recovery.