Skip to content

[Issue]: Database restore and test #72

Not planned
Not planned

Description

@MariyaSamrout

Branch Name

feature/72-db-restore-test

Task

Document and test restoring from a backup.

Description
A backup is only worth something if it restores. A file that exists is not proof that data can be recovered: it may be corrupted, encrypted with a key nobody can find, or restorable only through steps nobody wrote down. This issue proves, before it is needed, that a real backup from #71 can be restored.
The test runs on a separate environment, never on production, and the result is checked: row counts must match the source, control queries must agree and the application must start against the restored database. The script must refuse to overwrite a non-empty database without explicit confirmation.

Scope

  • Restore script with checksum verification
  • Restore test on a separate test environment
  • Integrity check (row counts, control queries, application start)
  • Test with a corrupted file (must fail cleanly)
  • Step-by-step written procedure with the measured restore time

Acceptance Criteria

  • A real backup is restored successfully on a test environment
  • Row counts match the source
  • A corrupted file is detected and the target is left untouched
  • The script refuses to overwrite a non-empty database without confirmation
  • Restore time is noted and the procedure is documented

Checklist

  • I have checked for duplicate issues.
  • I have assigned the issue to the correct project board.
  • I have tagged the issue properly.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. ghost added theissue type on Nov 14, 2026
  2. ghost added this to the Sprint 3 milestone on Nov 14, 2026
  3. ghost
    self-assigned this
    on Nov 24, 2026
  4. ghost
    self-assigned this
    on Nov 24, 2026
  5. Repository owner unassigned on Nov 24, 2026
  6. anis022 commented on Nov 27, 2026

    @anis022
    Member

    Merged into #71 to reduce the number of PRs this sprint. The scope and acceptance criteria of this issue are now in #71.

  7. ghost closed this as not plannedon Nov 27, 2026
  8. Repository owner unassigned on Nov 27, 2026
  9. ghost removed this from the Sprint 3 milestone on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions