RoutedPlatformDatabaseBackupStorage
in package
implements
PlatformDatabaseBackupStorageInterface
FinalYes
Writes new platform archives to configured storage while retaining historical local:// reads.
Table of Contents
Interfaces
Properties
- $configured : PlatformDatabaseBackupStorageInterface
- $local : PlatformDatabaseBackupStorageInterface
Methods
- __construct() : mixed
- Constructor.
- delete() : void
- Delete a stored encrypted archive.
- retrieve() : TenantBackupStoredObject
- Retrieve and verify basic metadata for an encrypted archive.
- store() : TenantBackupStoredObject
- Persist an encrypted platform database archive.
- workPath() : string
- Return an isolated local staging path for an archive.
- adapter() : PlatformDatabaseBackupStorageInterface
- Select storage from the persisted object URI scheme.
Properties
$configured read-only
private
PlatformDatabaseBackupStorageInterface
$configured
$local read-only
private
PlatformDatabaseBackupStorageInterface
$local
Methods
__construct()
Constructor.
public
__construct(PlatformDatabaseBackupStorageInterface $configured, PlatformDatabaseBackupStorageInterface $local) : mixed
Parameters
- $configured : PlatformDatabaseBackupStorageInterface
- $local : PlatformDatabaseBackupStorageInterface
delete()
Delete a stored encrypted archive.
public
delete(string $objectUri) : void
Parameters
- $objectUri : string
Tags
retrieve()
Retrieve and verify basic metadata for an encrypted archive.
public
retrieve(string $objectUri, string $destinationPath) : TenantBackupStoredObject
Parameters
- $objectUri : string
- $destinationPath : string
Tags
Return values
TenantBackupStoredObjectstore()
Persist an encrypted platform database archive.
public
store(string $backupId, string $encryptedPath) : TenantBackupStoredObject
Parameters
- $backupId : string
- $encryptedPath : string
Tags
Return values
TenantBackupStoredObjectworkPath()
Return an isolated local staging path for an archive.
public
workPath(string $backupId, string $suffix) : string
Parameters
- $backupId : string
- $suffix : string
Tags
Return values
stringadapter()
Select storage from the persisted object URI scheme.
private
adapter(string $objectUri) : PlatformDatabaseBackupStorageInterface
Parameters
- $objectUri : string