mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #13945] [MERGED] Add Full system backup feature #13776
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/13945
Author: @JPVenson
Created: 4/18/2025
Status: ✅ Merged
Merged: 5/19/2025
Merged by: @crobibero
Base:
master← Head:feature/BackupSystem📝 Commits (10+)
9a95fc3Add BackupService619eabfCreate Backup implementationd0a11faAdd Backup WebUI and self restoref744e98Improve backup api behaviorde81975Applied review comments886db95Add seperate Backup controller6167d32Add backup options to control what gets stored in a backupbf4c119Add content dto to backup manifest dto6d0a692Rename RestoreBackupffec5f4utilise await using where possible📊 Changes
21 files changed (+841 additions, -21 deletions)
View changed files
📝
Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs(+3 -0)📝
Emby.Server.Implementations/ApplicationHost.cs(+5 -0)➕
Jellyfin.Api/Controllers/BackupController.cs(+127 -0)📝
Jellyfin.Api/Controllers/SystemController.cs(+0 -1)➕
Jellyfin.Server.Implementations/FullSystemBackup/BackupManifest.cs(+19 -0)➕
Jellyfin.Server.Implementations/FullSystemBackup/BackupOptions.cs(+13 -0)➕
Jellyfin.Server.Implementations/FullSystemBackup/BackupService.cs(+463 -0)📝
Jellyfin.Server/Migrations/JellyfinMigrationService.cs(+27 -16)📝
Jellyfin.Server/Program.cs(+13 -1)📝
Jellyfin.Server/StartupOptions.cs(+6 -0)📝
MediaBrowser.Common/Configuration/IApplicationPaths.cs(+6 -0)📝
MediaBrowser.Controller/IServerApplicationHost.cs(+5 -0)➕
MediaBrowser.Controller/SystemBackupService/BackupManifestDto.cs(+34 -0)➕
MediaBrowser.Controller/SystemBackupService/BackupOptionsDto.cs(+24 -0)➕
MediaBrowser.Controller/SystemBackupService/BackupRestoreRequestDto.cs(+15 -0)➕
MediaBrowser.Controller/SystemBackupService/IBackupService.cs(+48 -0)📝
src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/TrickplayInfo.cs(+0 -1)📝
src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/User.cs(+0 -1)📝
src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs(+9 -0)📝
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/SqliteDatabaseProvider.cs(+23 -1)...and 1 more files
📄 Description
Add a full system backup service and webAPI to call it.
Add a new parameter for the application to restore a backup from an archive.
uses an zip archive to store config files and the database as json serialized tables.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.