| Modifier and Type | Method and Description |
|---|---|
int |
BackupRestoreManager.cancelAllJobsFromQueue()
Cancels all queued jobs.
|
BackupRestoreJob |
BackupRestoreManager.cancelJob(Long jobId)
Cancels the job.
|
Collection<BackupRestoreJob> |
BackupRestoreManager.findJobs(BackupRestoreJobsSearchFilter backupRestoreJobsSearchFilter,
int limit)
Returns jobs based on the filter provided.
|
BackupRestoreJob |
BackupRestoreManager.startSiteBackup(BackupRestoreSettings siteBackupSettings)
Starts the new site backup job if possible.
|
BackupRestoreJob |
BackupRestoreManager.startSiteRestore(BackupRestoreSettings siteRestoreSettings)
Starts the new site restore job if possible.
|
BackupRestoreJob |
BackupRestoreManager.startSpaceBackup(BackupRestoreSettings spaceBackupSettings)
Adds the new space backup job to the queue.
|
BackupRestoreJob |
BackupRestoreManager.startSpaceRestore(BackupRestoreSettings spaceRestoreSettings)
Adds the new space restore job to the queue.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NotPermittedException
It is thrown when a user does not have permissions to perform an action.
|
class |
SiteBackupRestoreJobAlreadyInProgressException
It is thrown when another site backup/restore operation is in progress.
|
class |
TheSameSpaceBackupRestoreJobAlreadyInProgressException
It is thrown when another space backup/restore operation is in progress or in the queue.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<BackupRestoreJob> |
ConfluenceBackupRestoreManager.findJobs(BackupRestoreJobsSearchFilter backupRestoreJobsSearchFilter,
int limit)
Returns jobs based on the filter provided.
|
BackupRestoreJob |
ConfluenceBackupRestoreManager.startSpaceBackup(BackupRestoreSettings spaceBackupSettings)
Adds the new space backup job to the queue.
|
| Modifier and Type | Method and Description |
|---|---|
abstract BackupRestoreJobResult |
AbstractBackupService.doBackupSynchronously(BackupRestoreJob job)
Run the backup process synchronously.
|
BackupRestoreJobResult |
SiteBackupService.doBackupSynchronously(BackupRestoreJob job)
Run the backup process synchronously.
|
BackupRestoreJobResult |
SpaceBackupService.doBackupSynchronously(BackupRestoreJob job)
Run the backup process synchronously.
|
ExportDescriptor |
BackupDescriptorWriter.writeBackupDescriptor(BackupContainerWriter backupContainerWriter,
ExportScope exportScope,
boolean backupAttachments,
String spaceKey,
Long objectsCount)
BackupDescriptorWriter was created as an equivalent of the existing legacy code from
com.atlassian.confluence.importexport.impl.AbstractXmlExporter (will disapper in Confluence 8.0).
|
| Modifier and Type | Method and Description |
|---|---|
void |
XmlBackupContainerWriter.addAttachments(Collection<AttachmentInfo> attachments) |
void |
BackupContainerWriter.addAttachments(Collection<AttachmentInfo> attachments) |
void |
XmlBackupContainerWriter.addDescriptionProperty(String name,
String value) |
void |
BackupContainerWriter.addDescriptionProperty(String name,
String value) |
void |
XmlBackupContainerWriter.addPluginModuleData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptors)
Create the data file for a specific plugin module into the backup zip file using the module Descriptors
|
void |
BackupContainerWriter.addPluginModuleData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptor) |
void |
XmlBackupContainerWriter.close() |
void |
ArchiveWriter.close()
Locking method that waits for all data to be archived and closes necessary resources.
|
void |
StreamZipWriter.close() |
void |
BackupContainerWriter.close() |
BackupContainerWriter |
BackupContainerWriterFactoryImpl.createSiteBackupContainerWriter() |
BackupContainerWriter |
BackupContainerWriterFactory.createSiteBackupContainerWriter() |
BackupContainerWriter |
BackupContainerWriterFactoryImpl.createSpaceBackupContainerWriter(Collection<Long> spaceIds) |
BackupContainerWriter |
BackupContainerWriterFactory.createSpaceBackupContainerWriter(Collection<Long> spaceIds) |
void |
XmlBackupContainerWriter.writeObjects(Collection<EntityObjectReadyForExport> objects) |
void |
BackupContainerWriter.writeObjects(Collection<EntityObjectReadyForExport> objects) |
void |
PluginDataWriter.writePluginData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptors) |
| Constructor and Description |
|---|
XmlBackupContainerWriter(File outputFile,
ArchiveWriter archiveWriter,
AttachmentDataFileSystemInternals localAttachmentDataFileSystem,
PluginDataWriter pluginWriter) |
XmlBackupContainerWriter(File outputFile,
ArchiveWriter archiveWriter,
AttachmentDataFileSystemInternals localAttachmentDataFileSystem,
PluginDataWriter pluginWriter,
Instant currentTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
PostExportAction.apply(List<EntityObjectReadyForExport> entities)
Performs action on a collection of Entities after they have been exported
|
String |
SpaceDatabaseDataExporter.export(long spaceId)
It accepts the space id, finds the space, send space data to writer and notify other persisters
about the space.
|
void |
DatabaseExporterHelper.notifyExportersAboutPersistedObjects(Collection<EntityObjectReadyForExport> exportedObjects) |
void |
BodyContentDataExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
BandanaDataExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
BucketsExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
PageTemplateExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
Content2ContentRelationEntityDataExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
SingleDependencyGenericExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
ContentPropertyDataExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
NotificationDatabaseDataExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
Subscriber.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList)
It is called when the collection of objects was exported.
|
void |
LabellingExporter.onMonitoredObjectsExport(Class<?> exportedClass,
Collection<Object> idList) |
void |
Persister.persistObjects(Collection<Object> objectIds)
Retrieve a list of EntityObjectReadyForExport from object IDs and persist retrieved records for backup file
|
void |
SimpleEntityExporter.persistObjects(Collection<Object> objectIds) |
void |
DatabaseExporterHelper.writeAllReferencedSimpleObjects(Collection<EntityObjectReadyForExport> entities)
Objects would have references to users, labels etc.
|
void |
DatabaseExporterHelper.writeObjects(Collection<EntityObjectReadyForExport> entities) |
void |
DatabaseExporterHelper.writeObjectsAndNotifyOtherExporters(Collection<EntityObjectReadyForExport> entities) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentEntityPostExportAction.apply(List<EntityObjectReadyForExport> entities) |
void |
WholeTableExporter.exportAllRecords()
Synchronously exports all the records from the table.
|
void |
GenericSiteExporter.exportAllRecords() |
| Modifier and Type | Method and Description |
|---|---|
BackupRestoreJobResult |
SpaceRestoreService.doRestoreSynchronously(BackupRestoreJob job)
Run the restore process synchronously.
|
abstract BackupRestoreJobResult |
AbstractRestoreService.doRestoreSynchronously(BackupRestoreJob job)
Run the restore process synchronously.
|
BackupRestoreJobResult |
SiteRestoreService.doRestoreSynchronously(BackupRestoreJob job)
Run the restore process synchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SiteBackupRestoreIntegrationTest.siteBackupTest()
Verifies that site backup/restore works properly.
|
void |
IntegrationTestSpaceBackup.spaceAndSpacePermissionsTest() |
void |
SpaceBackupRestoreIntegrationTest.spaceBackupRestoreTest()
Verifies that space backup/restore works properly.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IntegrationTestBandana.shouldExportBandanasWhenTriggerExportSpace() |
void |
IntegrationTestBuckets.shouldExportBucketsWhenCeoIsExported() |
void |
IntegrationTestConfluenceUser.shouldExportConfluenceUserImplWithEmailWhenTriggerExportSpace() |
void |
IntegrationContent2ContentRelationEntityDataExporter.shouldExportContent2ContentRelationsWhenTriggerExportSpace() |
void |
IntegrationTestSingleDependencyGenericExporter.shouldExportEntityRecordsWhenTriggerExportSpace() |
void |
IntegrationTestLabelling.shouldExportLabelsWhenTriggerExportSpace() |
void |
IntegrationTestNotifications.shouldExportNotificationsWhenTriggerExportSpace() |
void |
IntegrationTestPageTemplate.shouldExportPageTemplatesWhenTriggerExportSpace() |
void |
IntegrationTestUsersInBodyContent.shouldExportUsersReferencedInBodyContent() |
| Modifier and Type | Method and Description |
|---|---|
void |
IntegrationTestSiteBackup.internalUserIsExportedProperlyOnSiteBackupWithoutAttachments()
It tests the generic site extractor, so it enough to test only one entity.
|
void |
IntegrationTestSiteBackup.shouldExportAllBuckets() |
void |
IntegrationTestSiteBackup.shouldExportAllBucketsWhenEntityIdIsGreater() |
void |
IntegrationTestSiteBackup.shouldExportAllBucketsWhenEntityKeyIsGreater() |
void |
IntegrationTestSiteBackup.shouldExportAllBucketsWhenEntityNameIsGreater() |
void |
IntegrationTestSiteBackup.shouldExportAttachmentsToZipWhenIncludeAttachmentsIsSetToTrue() |
void |
IntegrationTestSiteBackup.shouldExportBodyContent()
Since BodyContent makes use of the SingleDependencyGenericSiteExporter, we want to ensure that it is exported
as it is different to other classes
|
void |
IntegrationTestSiteBackup.shouldExportContentPropertyContentIds() |
void |
IntegrationTestSiteBackup.shouldExportSiteAliasedKeys() |
void |
IntegrationTestSiteBackup.shouldNotExportAttachmentsToZipWhenIncludeAttachmentsIsSetToFalse() |
void |
IntegrationTestSiteBackup.theHierarchyOfThreeCommentsAreExportedProperly()
We test the hierarchy of comments because it is important to check that links between child and parent comments are
correct.
|
void |
IntegrationTestSiteBackup.theHierarchyOfThreePagesAreExportedProperly()
We test the hierarchy of pages because it is important to check that links between child and parent pagres are
correct.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IntegrationTestContentProperties.contentPropertiesInModernFormatTest() |
void |
IntegrationTestContentProperties.contentPropertiesLegacyTest() |
void |
IntegrationTestContentEntities.shouldExportPageWithContentPropertiesCollectionWhenKeepLegacyFormat() |
void |
IntegrationTestContentEntities.shouldExportPageWithHistoricalAttachmentsInLegacyFormat() |
void |
IntegrationTestContentEntities.theHierarchyOfThreeCommentsAreExportedProperly() |
void |
IntegrationTestContentEntities.theHierarchyOfThreePagesAreExportedProperly() |
Copyright © 2003–2022 Atlassian. All rights reserved.