Skip to content

[Feature] Include history.db in workspace backups #14

@GyaneshSamanta

Description

@GyaneshSamanta

internal/workspace/capture.go defines Manifest.HistoryIncluded bool but the function never copies history.db from ~/.cue (the file created in internal/history/db.go), nor does it flip the HistoryIncluded flag. As a result the workspace manifest always reports history_included: false and backups never contain tagged history.

Can we add a step that copies history.db into the temp backup directory (and maybe zips it) while setting HistoryIncluded = true in the manifest so cue workspace restore can optionally repopulate the history database?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions