Package org.opends.server.backup
Interface BackupStorageProvider
-
- All Known Implementing Classes:
FileSystemBackupStorageProvider
public interface BackupStorageProvider
An interface to create a backup storage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackupStorage
backupStorage(BackupStorageConfig config)
Returns a newBackupStorage
.String
getStorageScheme()
Returns the storage scheme supported by the provider.
-
-
-
Method Detail
-
backupStorage
BackupStorage backupStorage(BackupStorageConfig config) throws BackupException
Returns a newBackupStorage
.- Parameters:
config
- The configuration needed to set up the backup storage.- Returns:
- An instance of BackupStorage.
- Throws:
BackupException
- whenever an issue occurred while acquiring a backup storage.
-
getStorageScheme
String getStorageScheme()
Returns the storage scheme supported by the provider.- Returns:
- The storage scheme supported by the provider.
-
-