using System; namespace Jellyfin.Server.Migrations; /// /// Marks an migration and instructs the to perform a backup. /// [AttributeUsage(System.AttributeTargets.Class, Inherited = true, AllowMultiple = true)] public sealed class JellyfinMigrationBackupAttribute : System.Attribute { /// /// Gets or Sets a value indicating whether a backup of the old library.db should be performed. /// public bool LegacyLibraryDb { get; set; } /// /// Gets or Sets a value indicating whether a backup of the Database should be performed. /// public bool JellyfinDb { get; set; } /// /// Gets or Sets a value indicating whether a backup of the metadata folder should be performed. /// public bool Metadata { get; set; } /// /// Gets or Sets a value indicating whether a backup of the Trickplay folder should be performed. /// public bool Trickplay { get; set; } /// /// Gets or Sets a value indicating whether a backup of the Subtitles folder should be performed. /// public bool Subtitles { get; set; } }