The repository must be active when this operation is invoked. However, the repository may not be used by any other activities during the restore operation; doing so will likely result in a corrupt repository.
It is the responsibility of the caller to ensure that this method is only invoked once; calling multiple times wil lead to a corrupt repository.
@param backupDirectory the directory on the local file system in which all backup files exist and were written by aprevious {@link #backupRepository(File) backup operation}; this directory must exist, and the process must have read privilege for all contents in this directory @return the problems that occurred during the restore operation @throws AccessDeniedException if the current session does not have sufficient privileges to perform the restore @throws RepositoryException if the restoration cannot be run
|
|