Repository navigation
feat: back up a running node with aruna-doctor - #556
Merged
Merged
Conversation
St4NNi
force-pushed
the
feat/live-backup
branch
from
November 3, 2026 15:45
61a5fb3 to
79714fa
Compare
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (79.79%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #556 +/- ##
========================================
Coverage 89.39% 89.40%
========================================
Files 1487 1490 +3
Lines 618020 618458 +438
========================================
+ Hits 552487 552910 +423
- Misses 65533 65548 +15 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
St4NNi
force-pushed
the
feat/live-backup
branch
from
November 3, 2026 20:48
79714fa to
f83f756
Compare
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Lets
aruna-doctor backuptake a consistent backup of a running node, so the nightly backup no longer has to stop the node. Based on main.Changes
aruna_storage::snapshotas a streaming writer and reader.<storage>/backup.sock(owner-only). Each connection gets one stream with the main, document sync and Craqle metadata stores plus the Git repositories, read from snapshots while the node keeps serving.aruna-doctor backup <storage> <target>writes the stream to a file, checks it fully, then renames it into place.aruna-doctor restore <backup> <target>rebuilds a new storage directory and keeps Irokle's and Craqle's store options.main, which addsCraqleNode::store_database(feat: expose the graph store database for backups craqle#25), with tantivy 0.27 and fjall 3.1.13.