Esempio n. 1
0
        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));
 }
Esempio n. 3
0
 public BackupProgress CreateBackup(bool withMail = true)
 {
     return(backupHandler.StartBackup(BackupStorageType.DataStore, null, withMail));
 }
Esempio n. 4
0
 public BackupProgress StartBackup(BackupStorageType storageType, BackupAjaxHandler.StorageParams storageParams, bool backupMail)
 {
     return(backupHandler.StartBackup(storageType, storageParams, backupMail));
 }