snapshot: preserve backup UX, remote target setup, and docs updates
This commit is contained in:
21
README.md
21
README.md
@@ -78,3 +78,24 @@ Run a real workflow verification (onboarding + offboarding), including PDF check
|
||||
- `docker compose exec -T web python manage.py run_staging_e2e_check --email-check mailhog --mailhog-api-url http://mailhog:8025/api/v2/messages`
|
||||
- Skip Nextcloud existence checks:
|
||||
- `docker compose exec -T web python manage.py run_staging_e2e_check --skip-nextcloud`
|
||||
|
||||
## Backup and restore
|
||||
Use the repo-level scripts so database and media backups stay consistent.
|
||||
|
||||
- Create a backup bundle:
|
||||
- `make backup-create`
|
||||
- Verify a backup non-destructively:
|
||||
- `make backup-verify BACKUP_DIR=backend/backups/backup_YYYYmmdd_HHMMSS`
|
||||
- Real restore:
|
||||
- `./scripts/backup_restore.sh --yes-restore backend/backups/backup_YYYYmmdd_HHMMSS`
|
||||
|
||||
What is included:
|
||||
- PostgreSQL custom-format dump: `db.dump`
|
||||
- media archive: `media.tar.gz`
|
||||
- metadata file and SHA256 checksums
|
||||
- default storage path: `backend/backups/`
|
||||
|
||||
Verification behavior:
|
||||
- restores the dump into a temporary verification database
|
||||
- extracts media into a temporary directory
|
||||
- checks that the restored DB and media structure are readable
|
||||
|
||||
Reference in New Issue
Block a user