Skip to content

Backup relocation leaves the active cold archive path at the old location #1562

Closed

Description

@frahlg

A copied backup can boot after a directory move while its active archive path still points at the source layout. This blocks the data-preserving Docker-to-native migration requested for the first native stable.

Reproduced on isolated Linux ARM64 copies, with no network or equipment:

  1. Use the published v3.8.0-beta.1 Core and its matching ftw-backup to create and verify a synthetic SQLite/config backup under /app/data.
  2. Use the published v0.140.6-beta.1 helper to restore the archive under /var/lib/ftw. Restore verifies and succeeds.
  3. Start that candidate with /var/lib/ftw/config.yaml. Core boots, but /api/config still reports state.cold_dir=/app/data/cold.

The restored directory and the active archive reference differ. This probe has no real Parquet archive and does not establish lost archive rows; it establishes that this route cannot yet qualify as a complete data move. Source settings and history are already separate SQLite files on 3.8, so old YAML must not replace active settings.

Map archive-internal paths to the restore target while preserving credentials, goals, identity and other settings. Handle external files explicitly. Validate the same directory and a new directory with real Parquet data, two starts, interrupted restore and revert. Retain the source and allow only one Core to control equipment at cutover.

Activity

  1. added
    release-blocker
    on Oct 11, 2026
  2. frahlg commented on Oct 28, 2026

    @frahlg
    MemberAuthor

    Fixed by #1563, with tests. The release-blocker label stayed only for the Docker-to-native move, which this issue does not depend on.

    🤖 Generated with Claude Code

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

    release-blocker

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions