Class StatusResponseModel.StatusReliabilityModel
- Namespace
- Contensive.BaseModels
- Assembly
- CPBase.dll
Backup/reliability status included in the status response (Site Monitor roadmap Phase 3, items 2-4: last successful backup date, backup size, backup-destination awareness). Contensive's database is SQL Server, hosted either as SQL Express directly on the app server (backed up to a local drive by an external scheduled job/script) or as AWS RDS (backed up via RDS's own automated snapshots) -- backupSource reports which one this site is using, and the other fields are populated accordingly. See ReliabilityDiagnosticsController for how each source is actually checked.
public class StatusResponseModel.StatusReliabilityModel
- Inheritance
-
StatusResponseModel.StatusReliabilityModel
- Inherited Members
Properties
backupCheckError
Non-empty if the backup check itself failed (e.g. couldn't query msdb, or couldn't reach the RDS API/couldn't match this site's connection endpoint to an RDS instance). Contensive only; distinct from a null lastBackupDate that means "checked successfully, but no backup found yet".
public string backupCheckError { get; set; }
Property Value
backupPluginDetected
Name of the detected backup plugin (e.g. "UpdraftPlus"), or null if none is active. WordPress only.
public string backupPluginDetected { get; set; }
Property Value
backupSource
Which backup mechanism this site's database uses: "local" (SQL Express, backed up to a local drive; checked via msdb.dbo.backupset) or "rds" (AWS RDS automated snapshots; checked via the RDS API). Contensive only; null for WordPress, which reports backupPluginDetected instead.
public string backupSource { get; set; }
Property Value
deprecatedCount
Count of PHP deprecation notices found in debug.log within scanWindowHours. WordPress only.
public int? deprecatedCount { get; set; }
Property Value
- int?
fatalErrorCount
Count of PHP fatal errors found in debug.log within scanWindowHours. WordPress only.
public int? fatalErrorCount { get; set; }
Property Value
- int?
lastBackupDate
When the most recent successful backup completed. Set by both platforms: for Contensive, the latest full backup in msdb.dbo.backupset ("local") or the latest automated snapshot's creation time ("rds"); for WordPress, the most recent backup set in the detected backup plugin's history (UpdraftPlus first -- see backupPluginDetected). Null if no backup has been found yet, or if the check itself failed/wasn't run.
public DateTime? lastBackupDate { get; set; }
Property Value
lastBackupSizeBytes
Size, in bytes, of the most recent backup. Set by both platforms when determinable: for Contensive, only for backupSource "local" (msdb.dbo.backupset reports an exact size; "rds" is left null since the API doesn't expose an actual snapshot byte size). For WordPress, only when the backup plugin's files still exist in its local folder (null if shipped off-site only).
public long? lastBackupSizeBytes { get; set; }
Property Value
- long?
lastFatalErrorMessage
The most recent fatal error's message, or null if none found in the scan window. WordPress only.
public string lastFatalErrorMessage { get; set; }
Property Value
lastFatalErrorTime
When the most recent fatal error occurred, or null if none found in the scan window. WordPress only.
public DateTime? lastFatalErrorTime { get; set; }
Property Value
noticeCount
Count of PHP notices found in debug.log within scanWindowHours. WordPress only.
public int? noticeCount { get; set; }
Property Value
- int?
scanWindowHours
How many hours back the debug.log scan covers. WordPress only.
public int? scanWindowHours { get; set; }
Property Value
- int?
warningCount
Count of PHP warnings found in debug.log within scanWindowHours. WordPress only.
public int? warningCount { get; set; }
Property Value
- int?