public class CopyFilesStrategy extends Object implements IndexBackupStrategy
| Constructor and Description |
|---|
CopyFilesStrategy(ShardRequestProcessor processor,
String backupRepoName,
com.google.common.base.Optional<CollectionSnapshotMetaData> snapshotMeta) |
| Modifier and Type | Method and Description |
|---|---|
void |
createBackup(URI basePath,
String collectionName,
String backupName)
Backups the index data for specified Solr collection at the given location.
|
public CopyFilesStrategy(ShardRequestProcessor processor, String backupRepoName, com.google.common.base.Optional<CollectionSnapshotMetaData> snapshotMeta)
public void createBackup(URI basePath, String collectionName, String backupName)
IndexBackupStrategycreateBackup in interface IndexBackupStrategybasePath - The base location where the backup needs to be stored.collectionName - The name of the collection which needs to be backed up.backupName - The unique name of the backup.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.