Skip to content

fix: further improve db backup#421

Merged
adibarra merged 1 commit into
masterfrom
chore/db-backup-xz-parallelism
Jun 5, 2026
Merged

fix: further improve db backup#421
adibarra merged 1 commit into
masterfrom
chore/db-backup-xz-parallelism

Conversation

@adibarra
Copy link
Copy Markdown
Contributor

@adibarra adibarra commented Jun 5, 2026

Note

Low Risk
Changes only affect the scheduled GitHub Actions backup pipeline, not runtime app or database access patterns.

Overview
Splits the weekly DB backup workflow so dump and compress/split run as separate steps, with DUMP_DIR / TAG exported after the dump and compression moved into its own job step.

Both long-running steps now spawn a 30s heartbeat background loop (elapsed time + bytes written) and clean it up with an EXIT trap so logs stay visible on slow runs.

Compression uses xz -v and --memlimit-compress=95% alongside the existing LZMA2 settings, aiming for safer memory use on the large runner during tar→xz→split.

Reviewed by Cursor Bugbot for commit 86ee164. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview, Comment Jun 5, 2026 10:31pm

Request Review

@adibarra adibarra marked this pull request as ready for review June 5, 2026 22:31
@adibarra adibarra merged commit 35978e6 into master Jun 5, 2026
11 checks passed
@adibarra adibarra deleted the chore/db-backup-xz-parallelism branch June 5, 2026 22:31
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