DedicatedDatabaseBackup class

Backup

Implemented types

Constructors

DedicatedDatabaseBackup({required String $id, required String $createdAt, required String databaseId, required String projectId, required String policyId, required String trigger, required String type, required String requestedType, required String fallbackReason, required String status, required int sizeBytes, String? startedAt, String? completedAt, String? verifiedAt, String? expiresAt, String? logPosition, required String error})
DedicatedDatabaseBackup.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Backup creation time in ISO 8601 format.
final
$id String
Backup ID.
final
completedAt String?
Backup completion time in ISO 8601 format.
final
databaseId String
Database ID this backup belongs to.
final
error String
Error message if backup failed.
final
expiresAt String?
Backup expiration time in ISO 8601 format.
final
fallbackReason String
Why the backend ran a different backup type than the one requested. Empty when the backup ran as requested.
final
hashCode int
The hash code for this object.
no setterinherited
logPosition String?
Transaction-log position the backup anchors at, in the engine's own notation: PostgreSQL {walSegment}|{lsn}, MySQL and MariaDB {binlogFile}|{offset}, MongoDB {seconds}|{increment}. Empty when the backup recorded no position, which is the case for backup types that carry none.
final
policyId String
Backup policy ID when the backup was created by a schedule.
final
projectId String
Project ID.
final
requestedType String
Backup type that was requested. Differs from type when the backend could not run the requested type and took a different one instead, in which case fallbackReason explains why. Empty for backups taken before the requested type was recorded.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes int
Backup size in bytes.
final
startedAt String?
Backup start time in ISO 8601 format.
final
status String
Backup status. Possible values: pending (queued for processing), running (currently in progress), completed (successfully finished), failed (encountered an error), verified (integrity check passed).
final
trigger String
Backup trigger. Possible values: manual, schedule.
final
type String
Backup type. Possible values: full (complete database snapshot), incremental (changes since last backup), wal (write-ahead log continuous archival).
final
verifiedAt String?
Backup verification time in ISO 8601 format.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited