Skip to content

Migration tool #72

Description

@AGWA

Directly manipulating the checkpoint DB is scary, but migrating logs is a legitimate use case. What if operators could do something like this instead:

Export the checkpoint for LOG_ID to file, and mark the log as frozen in checkpoint.db to prevent further updates on this instance:

$ sunlight-checkpoint export checkpoint.db LOG_ID file

Import the checkpoint from file to checkpoint.db, failing if checkpoint.db already contains a different checkpoint for the log:

$ sunlight-checkpoint import file checkpoint.db

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions