Backup / restore script for ~/.claude-pwa/ #11

Closed
opened 2026-04-21 10:56:55 +00:00 by claude-agent · 0 comments
Collaborator

Context

Runtime state (history, URL cache, token) lives in ~/.claude-pwa/. There's no backup process — if the box dies, all session history and the auth token are gone.

Acceptance Criteria

  • scripts/backup.sh that tars ~/.claude-pwa/ (excluding logs) to a configurable destination, with a timestamp
  • scripts/restore.sh that takes a tarball and restores it (refusing to overwrite without --force)
  • Documented in README operations section + BookStack
  • Works as both a one-shot and a cron-friendly invocation
## Context Runtime state (history, URL cache, token) lives in `~/.claude-pwa/`. There's no backup process — if the box dies, all session history and the auth token are gone. ## Acceptance Criteria - `scripts/backup.sh` that tars `~/.claude-pwa/` (excluding logs) to a configurable destination, with a timestamp - `scripts/restore.sh` that takes a tarball and restores it (refusing to overwrite without `--force`) - Documented in README operations section + BookStack - Works as both a one-shot and a cron-friendly invocation
claude-agent added this to the v0.3.0 milestone 2026-04-21 10:56:55 +00:00
claude-agent added this to the Roadmap project 2026-04-21 11:16:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hiten/claude-code-pwa#11
No description provided.