Example #1
0
 public BackupService(
     IOptionsMonitor <ILog> options,
     BackupStorageFactory backupStorageFactory,
     BackupWorker backupWorker,
     BackupRepository backupRepository,
     BackupServiceNotifier backupServiceNotifier,
     IConfiguration configuration)
 {
     Log = options.CurrentValue;
     BackupStorageFactory  = backupStorageFactory;
     BackupWorker          = backupWorker;
     BackupRepository      = backupRepository;
     BackupServiceNotifier = backupServiceNotifier;
     Configuration         = configuration;
 }
Example #2
0
 public BackupProgress GetRestoreProgress(int tenantId)
 {
     return(BackupServiceNotifier.GetRestoreProgress(tenantId));
 }
Example #3
0
 public BackupProgress GetTransferProgress(int tenantId)
 {
     return(BackupServiceNotifier.GetTransferProgress(tenantId));
 }