-
Method Summary
Generates a backup configuration object that defines the available operations
and capabilities for the provided Backup entity.
void
Creates a new Backup entity or performs operations to initialize it.
void
Deletes a specified Backup entity.
byte[]
Downloads the specified backup and returns its contents as a byte array.
void
Restores a specific Backup entity.
Retrieves statistical information about the specified Backup entity.
Retrieves the status of the given backup operation.
-
Method Details
-
create
Creates a new Backup entity or performs operations to initialize it.
- Parameters:
backupIO - the Backup entity to be created or initialized
-
delete
Deletes a specified Backup entity.
- Parameters:
backupIO - the Backup entity to be deleted
-
restore
Restores a specific Backup entity. This method is responsible for
initiating or performing the restoration process for the given Backup.
- Parameters:
backupIO - the Backup entity to be restored
-
download
byte[] download(Backup backupIO)
Downloads the specified backup and returns its contents as a byte array.
- Parameters:
backupIO - the Backup entity to be downloaded
- Returns:
- a byte array representing the downloaded backup data
-
stats
Retrieves statistical information about the specified Backup entity.
- Parameters:
backupIO - the Backup entity for which statistical information is to be retrieved
- Returns:
- a BackupStats object containing details such as name, size, format, and path
-
status
Retrieves the status of the given backup operation.
- Parameters:
backupIO - the backup instance for which the status is to be retrieved.
- Returns:
- an instance of BackupStats containing the status details of the specified backup.
-
config
Generates a backup configuration object that defines the available operations
and capabilities for the provided Backup entity.
- Parameters:
backupIO - the Backup entity for which the configuration is generated
- Returns:
- a BackupExtensionConfig object specifying the operational capabilities
for the given Backup entity