|
|
@ -4,7 +4,18 @@ namespace NzbDrone.Core.Backup
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class BackupCommand : Command
|
|
|
|
public class BackupCommand : Command
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public BackupType Type { get; set; }
|
|
|
|
public BackupType Type
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (Trigger == CommandTrigger.Scheduled)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return BackupType.Scheduled;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return BackupType.Manual;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public override bool SendUpdatesToClient => true;
|
|
|
|
public override bool SendUpdatesToClient => true;
|
|
|
|
|
|
|
|
|
|
|
|