mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Backups
New: Backup drone's database and configuration from the UI New: Download Backup files from the UI Fixed: Run a database backup before upgrade
This commit is contained in:
parent
d74e461aea
commit
c5bd8b27fb
32 changed files with 552 additions and 27 deletions
24
src/NzbDrone.Core/Backup/BackupCommand.cs
Normal file
24
src/NzbDrone.Core/Backup/BackupCommand.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using NzbDrone.Core.Messaging.Commands;
|
||||
|
||||
namespace NzbDrone.Core.Backup
|
||||
{
|
||||
public class BackupCommand : Command
|
||||
{
|
||||
public BackupType Type { get; set; }
|
||||
|
||||
public override bool SendUpdatesToClient
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public enum BackupType
|
||||
{
|
||||
Scheduled = 0 ,
|
||||
Manual = 1,
|
||||
Update = 2
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue