Skip to content

feat(volume-backup): add opencloud metadata backup sidecar - #552

Merged
mainman94 merged 1 commit into
mainfrom
feat/opencloud-metadata-backup
Nov 25, 2026
Merged

mainman94 merged 1 commit into
mainfrom
feat/opencloud-metadata-backup

Conversation

@mainman94

Copy link
Copy Markdown
Owner

Adds a small backup sidecar for opencloud: config, IDM (users/groups), NATS, storage metadata (spaces/shares) and the generated secrets. Previously only the user files were backed up (TrueNAS cloud sync → B2).

  • Excludes storage/users/users (already pushed to B2 directly), storage/users/uploads (in-flight chunks), search, thumbnails.
  • Tested on the host with a one-off run: 25 MB archive, opencloud stopped for ~10 s, all 3 containers healthy again afterwards.
  • OPENCLOUD_STACK_HOST_PATH is in backup.env.example, and it is already set in the host env files.

🤖 Generated with Claude Code

Backs up opencloud config, idm, nats and storage metadata (~25 MB).
User files (storage/users/users) are excluded because a TrueNAS cloud
sync task already pushes them to B2; in-flight uploads, search index
and thumbnails are excluded as rebuildable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mainman94
mainman94 merged commit d6dbca3 into main Nov 25, 2026
2 checks passed
@mainman94
mainman94 deleted the feat/opencloud-metadata-backup branch November 25, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant