public interface BackupManager
| Modifier and Type | Method and Description |
|---|---|
long |
backup(String exportFileName)
Perform an XML export of crowd, as well as of the directory configuration.
|
long |
backup(String exportFileName,
boolean resetDomain)
Perform an XML export of crowd, as well as of the directory configuration.
|
String |
generateAutomatedBackupFileName()
Generate a filename for an automated backup, that can then be used with
backup(String, boolean). |
BackupSummary |
getAutomatedBackupSummary()
Return a summary of how many automated backups are present, and how old are the oldest and most recent backups.
|
String |
getBackupFileFullPath(String fileName)
Generate the full path of the given backup filename.
|
long backup(String exportFileName) throws ExportException, BackupOrRestoreAlreadyInProgressException
exportFileName - the name of the file to export to (not the full path)ExportException - in case an error happens while exporting the dataBackupOrRestoreAlreadyInProgressException - in case a backup or a restore is already in progresslong backup(String exportFileName, boolean resetDomain) throws ExportException, BackupOrRestoreAlreadyInProgressException
exportFileName - the name of the file to export to (not the full path)resetDomain - whether to activate the RESET_DOMAIN option or notExportException - in case an error happens while exporting the dataBackupOrRestoreAlreadyInProgressException - in case a backup or a restore is already in progressString getBackupFileFullPath(String fileName)
fileName - a filenameBackupSummary getAutomatedBackupSummary()
BackupSummaryString generateAutomatedBackupFileName()
backup(String, boolean).Copyright © 2024 Atlassian. All rights reserved.