Skip to content

First-class attic restore (currently backup-only) #8

Description

@janhoy

Summary. attic is backup-only. The command set is backup / init / migrate / rebuild / refresh-metadata / status / verify — no restore. rebuild's own abstract is "Rebuild manifest from S3 metadata files
(disaster recovery)"
: it reconstructs manifest.json, it does not download originals. So recovery today
is DIY (aws s3 sync of originals/ + manual re-import). A restore command would close the loop.

Request. An attic restore that:

  • pulls originals (optionally filtered by date range / type / album) to a local folder;
  • optionally re-imports them into Photos;
  • if objects are in a non-instant Glacier tier, initiates the S3 restore and polls until ready.

Why. Makes attic a complete DR tool, not just an uploader. Pairs with the storage-class request —
GLACIER_IR needs no restore job, but GLACIER/DEEP_ARCHIVE would.


Filed by @janhoy. This issue text was drafted with AI assistance and checked against the current main source.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions