The repository must be active when this operation is invoked, and it can continue to be used during backup (e.g., this can be a "live" backup operation), but this is not recommended if the backup will be used as part of a migration to a different version of ModeShape or to different installation.
Multiple backup operations can operate at the same time, so it is the responsibility of the caller to not overload the repository with backup operations.
@param backupDirectory the directory on the local file system into which all backup files will be written; this directoryneed not exist, but the process must have write privilege for this directory @return the problems that occurred during the backup operation @throws AccessDeniedException if the current session does not have sufficient privileges to perform the backup @throws RepositoryException if the backup cannot be run
|
|
|
|