Skip to content

Admin portal - improve "rollback" performance and reliability #55

@joeflack4

Description

@joeflack4

Current implementation

Presently the way that a user rolls back to a previous version of the database is by selecting a dataset and clicking 'apply to staging' or 'apply to production'. This runs the database initialization script on that server.

Desired implementation

Possible solutions:
a. Store a backup of the PostgreSQL database, and restore from that backup using existing (if any) best practices for doing PostgreSQL backups and rollbacks.
b. Back up our PostgreSQL database in another fashion, such as creating a separate DB instance for each dataset uploaded, or storing multiple tables of the same type in the database, e.g. "indicators-v1", "indicators-v2", etc, where "vX' represents the version number of the dataset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4Priority: 4/5 (1=High, 5=Low)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions