Package org.opends.server.backup
Class FileSystemBackupStorageProvider
- java.lang.Object
-
- org.opends.server.backup.FileSystemBackupStorageProvider
-
- All Implemented Interfaces:
BackupStorageProvider
public final class FileSystemBackupStorageProvider extends Object implements BackupStorageProvider
This class creates instances ofBackupStorageplugged on the local file system.
-
-
Constructor Summary
Constructors Constructor Description FileSystemBackupStorageProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupStoragebackupStorage(BackupStorageConfig config)Returns a newBackupStorage.StringgetStorageScheme()Returns the storage scheme supported by the provider.
-
-
-
Method Detail
-
backupStorage
public BackupStorage backupStorage(BackupStorageConfig config) throws BackupException
Description copied from interface:BackupStorageProviderReturns a newBackupStorage.- Specified by:
backupStoragein interfaceBackupStorageProvider- 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
public String getStorageScheme()
Description copied from interface:BackupStorageProviderReturns the storage scheme supported by the provider.- Specified by:
getStorageSchemein interfaceBackupStorageProvider- Returns:
- The storage scheme supported by the provider.
-
-