mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
c5bd8b27fb
New: Backup drone's database and configuration from the UI New: Download Backup files from the UI Fixed: Run a database backup before upgrade
25 lines
423 B
C#
25 lines
423 B
C#
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
|
|
}
|
|
}
|