Class SpaceBackupService
- java.lang.Object
- 
- com.atlassian.confluence.impl.backuprestore.backup.AbstractBackupService
- 
- com.atlassian.confluence.impl.backuprestore.backup.SpaceBackupService
 
 
- 
 public class SpaceBackupService extends AbstractBackupService Service responsible for space backup operations.- Since:
- 7.17.0
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intBACKUP_THREADS_NUMBER- 
Fields inherited from class com.atlassian.confluence.impl.backuprestore.backup.AbstractBackupServiceDELETE_TEMP_BACKUPS_OLDER_THAN_HOURS
 
- 
 - 
Constructor SummaryConstructors Constructor Description SpaceBackupService(@NotNull org.hibernate.SessionFactory sessionFactory, @NotNull org.springframework.transaction.PlatformTransactionManager platformTransactionManager, @NotNull BackupContainerWriterFactory backupContainerWriterFactory, @NotNull SpaceExportersFactory spaceExportersFactory, @NotNull com.atlassian.event.api.EventPublisher eventPublisher, @NotNull ExportableEntityInfoFactory exportableEntityInfoFactory, @NotNull BackupRestoreJobDao backupRestoreJobDao, @NotNull BackupRestoreFilesystemManager backupRestoreFilesystemManager, @NotNull StatisticsCollectorFactory statisticsCollectorFactory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoBackupSynchronously(BackupRestoreJob job, BackupRestoreSettings settings)Run the backup process synchronously.protected voidvalidateSpaceBackupJob(BackupRestoreJob job, BackupRestoreSettings settings)- 
Methods inherited from class com.atlassian.confluence.impl.backuprestore.backup.AbstractBackupServicevalidateBackupJob
 
- 
 
- 
- 
- 
Constructor Detail- 
SpaceBackupServicepublic SpaceBackupService(@NotNull @NotNull org.hibernate.SessionFactory sessionFactory, @NotNull @NotNull org.springframework.transaction.PlatformTransactionManager platformTransactionManager, @NotNull @NotNull BackupContainerWriterFactory backupContainerWriterFactory, @NotNull @NotNull SpaceExportersFactory spaceExportersFactory, @NotNull @NotNull com.atlassian.event.api.EventPublisher eventPublisher, @NotNull @NotNull ExportableEntityInfoFactory exportableEntityInfoFactory, @NotNull @NotNull BackupRestoreJobDao backupRestoreJobDao, @NotNull @NotNull BackupRestoreFilesystemManager backupRestoreFilesystemManager, @NotNull @NotNull StatisticsCollectorFactory statisticsCollectorFactory)- Since:
- 7.20.0
 
 
- 
 - 
Method Detail- 
doBackupSynchronouslypublic void doBackupSynchronously(BackupRestoreJob job, BackupRestoreSettings settings) throws BackupRestoreException, InterruptedException Run the backup process synchronously. The function either returns the result object with all required information when the backup process finishes or throws an exception (if the backup fails). At this moment, we call the legacy xml exporter here. This function will be replaced when we get the new backup/restore functionality.- Specified by:
- doBackupSynchronouslyin class- AbstractBackupService
- Throws:
- BackupRestoreException
- InterruptedException
 
 - 
validateSpaceBackupJobprotected void validateSpaceBackupJob(BackupRestoreJob job, BackupRestoreSettings settings) 
 
- 
 
-