1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-18 23:48:35 +02:00
Sonarr/src/NzbDrone.Core/Backup/BackupCommand.cs
Mark McDowall c5bd8b27fb 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
2014-07-06 20:10:51 -07:00

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
}
}