Skip to content

merge#142

Merged
thmarx merged 3 commits intoCondationCMS:mainfrom
thmarx:main
Feb 11, 2026
Merged

merge#142
thmarx merged 3 commits intoCondationCMS:mainfrom
thmarx:main

Conversation

@thmarx
Copy link
Copy Markdown
Contributor

@thmarx thmarx commented Feb 11, 2026

No description provided.

google-labs-jules Bot and others added 3 commits November 30, 2025 11:23
Introduces a new configurable option, `processOnlyOnChange`, to the backup module.

When this option is enabled for a backup job, a SHA-256 checksum of the backup archive is calculated and compared to the checksum of the previous backup.

The post-processing steps (e.g., uploading to S3) are now only executed if the checksums differ, indicating that the backup's content has changed.

If the backup has not changed, the newly created archive is deleted to save disk space.

This optimization avoids unnecessary processing and storage of redundant backups.

The checksum calculation is implemented using a streaming approach to handle large files without causing OutOfMemoryError. The checksum file is written atomically to prevent corruption.

Unit tests have been added to verify the new functionality.
feat(backup): Process backups only when content changes
@thmarx thmarx merged commit ef3b3d8 into CondationCMS:main Feb 11, 2026
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