Backup Before Upgrade
Create and verify the authoritative-state backup required before an AutoCore upgrade.
Before an upgrade, capture PostgreSQL transactional state, configuration and installation metadata, the edition manifest, and the media snapshot/manifest boundary. Meilisearch documents are derived and Redis is transient; record their recovery decisions instead of treating them as the database backup.
Verify archive checksum, database dump readability, manifest contents, migration count, media manifest, and retention destination. If restore verification is available, restore into a temporary database and compare source counts before proceeding.
Destructive gate
Do not apply migrations or replace images when the required backup is missing, unverifiable, or stored only on the target volume that the upgrade could damage.
Verification
Record checksum, archive contents, restore result when available, migration count, media manifest, and retention destination.