Class FilesystemBackupStore
java.lang.Object
io.camunda.zeebe.backup.filesystem.FilesystemBackupStore
- All Implemented Interfaces:
BackupStore
BackupStore for local filesystem. Stores all backups in a given baseDir.
All created object keys are prefixed by the BackupIdentifier, with the following
scheme: basePath/partitionId/checkpointId/nodeId.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFilesystemBackupStore(FilesystemBackupConfig config, ExecutorService executor) -
Method Summary
Modifier and TypeMethodDescriptionlist(BackupIdentifierWildcard wildcard) markFailed(BackupIdentifier id, String failureReason) restore(BackupIdentifier id, Path targetFolder) static voidvalidateConfig(FilesystemBackupConfig config)
-
Field Details
-
ERROR_MSG_BACKUP_NOT_FOUND
- See Also:
-
ERROR_MSG_BACKUP_WRONG_STATE_TO_RESTORE
- See Also:
-
SNAPSHOT_FILESET_NAME
- See Also:
-
SEGMENTS_FILESET_NAME
- See Also:
-
-
Constructor Details
-
FilesystemBackupStore
-
-
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
-
validateConfig
-