public class JahiaRepositoryCopier extends Object
RepositoryCopier.| Constructor and Description |
|---|
JahiaRepositoryCopier(org.apache.jackrabbit.core.RepositoryImpl source,
org.apache.jackrabbit.core.RepositoryImpl target,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy()
Copies the full content from the source to the target repository.
|
public JahiaRepositoryCopier(org.apache.jackrabbit.core.RepositoryImpl source,
org.apache.jackrabbit.core.RepositoryImpl target,
int batchSize)
public void copy()
throws javax.jcr.RepositoryException
The source repository must not be modified while the copy operation is running to avoid an inconsistent copy.
This method leaves the search indexes of the target repository in an Note that both the source and the target repository must be closed during the copy operation as this method requires exclusive access to the repositories.
javax.jcr.RepositoryException - if the copy operation failsCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.