aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/FullSystemBackup
AgeCommit message (Collapse)Author
5 daysRemove comments about JSON error handlingCody Robibero
Removed comments explaining error handling for malformed JSON during backup.
8 daysfix: log corrupt KeyframeData row read failures as errors, not warningszerafachris
Per review feedback from cvium: failing to read/backup an entity due to corrupt underlying data is a significant event that should be surfaced as an error, not silently downgraded to a warning.
9 daysSkip corrupt KeyframeData rows during full system backupzerafachris
A single row with malformed KeyframeTicks JSON (e.g. a truncated array from an interrupted write) currently aborts the entire backup, because the try/catch in BackupService.CreateBackupAsync only wraps serialization of an already-materialized entity, not the enumeration itself. EF Core throws JsonReaderException from MoveNextAsync() while materializing the corrupt row, which propagates past that catch block. Switch to manual enumerator iteration so MoveNextAsync() failures can be caught per-row, logged as a warning identifying the affected table, and skipped, allowing the remaining rows and the rest of the backup to complete. Fixes #17216 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-06-26Skip backups whens can is runningShadowghost
2026-03-30Backport pull request #16425 from jellyfin/release-10.11.ztheguymadmax
Fix restore backup metadata location Original-merge: 0f1732e5f5444cd6876dec816b5ff5822a93862b Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Bond_009 <bond.009@outlook.com>
2026-01-14Update to .NET 10.0Bond_009
2025-10-27Backport pull request #15196 from jellyfin/release-10.11.zcrobibero
Skip directory entry when restoring from backup Original-merge: 0e4031ae52b2ca3a19e22bfc6ab9c9af88944bd8 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-27Backport pull request #15170 from jellyfin/release-10.11.zcrobibero
Clean up BackupService Original-merge: ac3fa3c376a47c099e14d4b940832c39e2249aee Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-09-12Various cleanups (#14785)Bond-009
2025-07-20Clean up and fix backup/restore (#14489)Cody Robibero
2025-07-17Delete old migrations on restore (#14486)JPVenson
2025-06-10Use explicit namingJPVenson
2025-06-10Fix schema name on backupJPVenson
2025-06-03Add declarative backups for migrations (#14135)JPVenson
2025-06-03Fix server not auto restarting (#14215)JPVenson
2025-06-03Backup MigrationHistory as well (#14136)JPVenson
2025-05-18Add Full system backup feature (#13945)JPVenson