예제 #1
0
        public BackupProgress RestoreProgress()
        {
            if (!CoreContext.Configuration.Standalone)
            {
                throw new NotSupportedException("Restore backup not available.");
            }

            return(backupHandler.GetRestoreProgress());
        }
예제 #2
0
        [Read("getrestoreprogress", true, false)]  //NOTE: this method doesn't check payment!!!
        public BackupProgress GetRestoreProgress()
        {
            if (CoreContext.Configuration.Standalone)
            {
                TenantExtra.DemandControlPanelPermission();
            }

            return(backupHandler.GetRestoreProgress());
        }
 [Read("getrestoreprogress", true, false)]  //NOTE: this method doesn't check payment!!!
 public BackupProgress GetRestoreProgress()
 {
     return(backupHandler.GetRestoreProgress());
 }