Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

426 B
Raw Blame
import type { WalStreamStatistics } from '../../../../../entity/backups/physical';

export interface WalStreamRefreshState {
  // The newest successful response; a failed refresh never replaces it.
  statistics: WalStreamStatistics | null;
  lastSuccessfulRefreshAt: Date | null;

  // The first load failed, so there is nothing to show but the error and a retry.
  firstLoadError: unknown;

  isLastRefreshFailed: boolean;
}