public BackupProgress StartBackup(BackupStorageType storageType, IEnumerable <ItemKeyValuePair <string, string> > storageParams, bool backupMail) { if (CoreContext.Configuration.Standalone) { TenantExtra.DemandControlPanelPermission(); } return(backupHandler.StartBackup(storageType, storageParams.ToDictionary(r => r.Key, r => r.Value), backupMail)); }
public BackupProgress StartBackup(BackupStorageType storageType, IEnumerable <ItemKeyValuePair <string, string> > storageParams, bool backupMail) { return(backupHandler.StartBackup(storageType, storageParams.ToDictionary(r => r.Key, r => r.Value), backupMail)); }
public BackupProgress CreateBackup(bool withMail = true) { return(backupHandler.StartBackup(BackupStorageType.DataStore, null, withMail)); }
public BackupProgress StartBackup(BackupStorageType storageType, BackupAjaxHandler.StorageParams storageParams, bool backupMail) { return(backupHandler.StartBackup(storageType, storageParams, backupMail)); }