Searched defs:backupable (Results 1 - 2 of 2) sorted by relevance

/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/
H A DBackupManagerTestCase.java80 // - a mock of a backupable (building the mock also involves creating directory and files to backup)
150 public void testCreateBackupThenRestoreThenRemove(String label, Backupable backupable, BackupConfig backupConfig, argument
156 backupManager.createBackup(backupable, backupConfig);
163 removeBackedUpFiles(backupable);
166 backupManager.restoreBackup(backupable, restoreConfig);
168 assertAllFilesAreRestoredCorrectly(backupable);
252 Backupable backupable = buildBackupableForMultipleDirectoriesCase(createSourceDirectory("saveFiles-root"), 2);
253 File rootDir = backupable.getDirectory();
256 File actualTargetDir = BackupManager.saveFilesToDirectory(rootDir.toPath(), backupable.getFilesToBackup(),
282 private void assertAllFilesAreRestoredCorrectly(Backupable backupable) throw argument
293 removeBackedUpFiles(Backupable backupable) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/
H A DBackupManager.java87 * A backup manager for any entity that is backupable (backend, storage).
905 // The backupable entity is responsible for handling the changes through the files list iterator
1059 void restoreArchive(Path restoreDir, Set<String> filesToRestore, RestoreConfig restoreConfig, Backupable backupable) argument
1064 restoreArchive0(restoreDir, filesToRestore, restoreConfig, backupable);
1079 Backupable backupable) throws DirectoryException, IOException {
1261 * Creates a backup of the provided backupable entity.
1270 * @param backupable
1277 public void createBackup(final Backupable backupable, final BackupConfig backupConfig) throws DirectoryException argument
1286 final ListIterator<Path> files = backupable.getFilesToBackup();
1287 final Path rootDirectory = backupable
1078 restoreArchive0(Path restoreDir, Set<String> filesToRestore, RestoreConfig restoreConfig, Backupable backupable) argument
1325 restoreBackup(Backupable backupable, RestoreConfig restoreConfig) argument
1377 getRestoreDirectory(Backupable backupable, String backupID) argument
1430 restoreArchive(Path restoreDir, Set<String> filesToRestore, RestoreConfig restoreConfig, Backupable backupable, BackupInfo backupInfo) argument
1523 saveCurrentFilesToDirectory(Backupable backupable, String identifier) argument
[all...]

Completed in 32 milliseconds