A memory-efficient, stream-based Python toolkit designed to bypass console file-size limits, OOM crashes, and PUT overwrite traps.
Standard Firebase backup restoration methods fail when file sizes scale.
PUT operation, erasing all other data at the target node.PATCH updates to safely integrate data without erasing existing records.Built with robustness, speed, and safety in mind for large-scale operations.
Iteratively parses pretty-printed or minified JSON backups, writing N-user files without memory leaks.
Losslessly checks and compares every fingerprint to guarantee that chunk files are an exact 100% split.
Accumulates entries into safe ≤ 4 MB batches, writing them in parallel to protect network buffer pipelines.
Encountered an oversized node? The single-user tool splits keys recursively so they fit within the limits.
Everything you need to safely plan, execute, and troubleshoot a production restore.
Safety checklist, dry-run guides, and step-by-step production restore procedure.
Complete list of parameters, flags, and programmatic API endpoints.
Changelog, new features, and upgrade instructions.
Guidance on reporting vulnerabilities and maintaining data safety.
Ready-to-use project positioning, social posts, and community submission drafts.
Step-by-step interactive simulator showing how the toolkit processes and uploads your backup.
Reads the massive JSON backup in 128 KB blocks and splits it into smaller JSON chunk files (default 1,000 users per chunk).
Compares SHA-256 fingerprints of every entry in both the original file and the chunks to guarantee that no data was lost.
Uploads the validated chunks in safe ≤ 4 MB batches. Uses PATCH requests to merge data without erasing anything else.
If a single entry (like one giant user) is too large, the tool automatically splits it into sub-keys and uploads them recursively.
Customize the parameters below to dynamically generate the exact commands you need for your restoration.
--wipe, --wipe-root). See the Production Runbook first.
make split BACKUP=my_rtdb_backup.json CHUNKS=./rtdb-chunks NODE=users
make validate BACKUP=my_rtdb_backup.json CHUNKS=./rtdb-chunks NODE=users
make upload CHUNKS=./rtdb-chunks SA=serviceAccountKey.json DBPATH=/users