public interface XmlMigrationManager
Modifier and Type | Method and Description |
---|---|
long |
exportXml(String path,
Map<String,Object> options)
Exports the Crowd server's state to an XML file.
|
long |
importXml(String path)
Imports exported Crowd server state from an XML file.
|
long exportXml(String path, Map<String,Object> options) throws ExportException, BackupOrRestoreAlreadyInProgressException
path
- file path of export XML.options
- export options.ExportException
- something went wrong during the export.BackupOrRestoreAlreadyInProgressException
- in case a backup or a restore is already in progresslong importXml(String path) throws ImportException, BackupOrRestoreAlreadyInProgressException
path
- file path of the XML backup to import.ImportException
- something went wrong during the import.BackupOrRestoreAlreadyInProgressException
- in case a backup or a restore is already in progressCopyright © 2020 Atlassian. All rights reserved.