Package io.camunda.zeebe.backup.gcs
Class GcsBackupStore
java.lang.Object
io.camunda.zeebe.backup.gcs.GcsBackupStore
- All Implemented Interfaces:
BackupStore
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGcsBackupStore(GcsBackupConfig config) GcsBackupStore(GcsBackupConfig config, com.google.cloud.storage.Storage client) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.cloud.storage.StoragebuildClient(GcsBackupConfig config) list(BackupIdentifierWildcard wildcard) markFailed(BackupIdentifier id, String failureReason) restore(BackupIdentifier id, Path targetFolder) static voidvalidateConfig(GcsBackupConfig config)
-
Field Details
-
ERROR_MSG_BACKUP_NOT_FOUND
- See Also:
-
ERROR_MSG_BACKUP_WRONG_STATE_TO_RESTORE
- See Also:
-
ERROR_MSG_ACCESS_FAILED
- See Also:
-
SNAPSHOT_FILESET_NAME
- See Also:
-
SEGMENTS_FILESET_NAME
- See Also:
-
-
Constructor Details
-
GcsBackupStore
-
GcsBackupStore
-
-
Method Details
-
save
- Specified by:
savein interfaceBackupStore
-
getStatus
- Specified by:
getStatusin interfaceBackupStore
-
list
- Specified by:
listin interfaceBackupStore
-
delete
- Specified by:
deletein interfaceBackupStore
-
restore
- Specified by:
restorein interfaceBackupStore
-
markFailed
- Specified by:
markFailedin interfaceBackupStore
-
closeAsync
- Specified by:
closeAsyncin interfaceBackupStore
-
buildClient
-
validateConfig
-