mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #14135] [MERGED] Add declarative backups for migrations #13847
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/14135
Author: @JPVenson
Created: 5/19/2025
Status: ✅ Merged
Merged: 6/4/2025
Merged by: @crobibero
Base:
master← Head:bugfix/ReintroduceSystemBackupOnMigration📝 Commits (10+)
b0b3194Add declarative backups for migrationse20cee6Add migration backupsb37485aFix tests361737dFix comment346dcb2Reintroduce FastBackup method for saving jellyfin.db86e70d1clarify Log errorf9690c4clarify log entrydcdc0c6fix log entry7e38bc6Handle mutliple Backup attributes10c26e6Rename enum member📊 Changes
15 files changed (+370 additions, -109 deletions)
View changed files
📝
Jellyfin.Server.Implementations/FullSystemBackup/BackupOptions.cs(+2 -0)📝
Jellyfin.Server.Implementations/FullSystemBackup/BackupService.cs(+81 -71)📝
Jellyfin.Server/Migrations/JellyfinMigrationAttribute.cs(+2 -2)➕
Jellyfin.Server/Migrations/JellyfinMigrationBackupAttribute.cs(+35 -0)📝
Jellyfin.Server/Migrations/JellyfinMigrationService.cs(+209 -5)📝
Jellyfin.Server/Migrations/Routines/FixAudioData.cs(+1 -24)📝
Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs(+1 -0)📝
Jellyfin.Server/Migrations/Routines/MigrateRatingLevels.cs(+1 -0)📝
Jellyfin.Server/Migrations/Stages/CodeMigration.cs(+3 -1)📝
Jellyfin.Server/Migrations/Stages/JellyfinMigrationStageTypes.cs(+1 -1)📝
Jellyfin.Server/Program.cs(+6 -4)📝
MediaBrowser.Controller/SystemBackupService/BackupOptionsDto.cs(+5 -0)📝
src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs(+7 -0)📝
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/SqliteDatabaseProvider.cs(+15 -0)📝
tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs(+1 -1)📄 Description
Reintroduces backups managed by the migration service
Summary by CodeRabbit
New Features
Bug Fixes
Chores
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.