BackupType enum
Types of backup operations.
Different backup types offer trade-offs between storage space, backup speed, and restore complexity.
Values
- full → const BackupType
-
Complete backup of all data.
Contains all entities at the time of backup. Largest size but simplest to restore.
- differential → const BackupType
-
Backup of changes since the last full backup.
Requires the last full backup plus this differential to restore. Faster than full backup, moderate size.
- incremental → const BackupType
-
Backup of changes since the last backup (any type).
Requires all backups in the chain since the last full backup. Fastest and smallest, but most complex to restore.
- migration → const BackupType
-
Migration-specific backup.
Created automatically before schema migrations to enable rollback.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
BackupType> - A constant List of the values in this enum, in order of their declaration.