Backup
This module is deprecated. Instead, use the Back up Data script.
Purpose
To back up data.
Auto Configuration
Backup auto configuration configures the following routes.
Class | Bean Name | Desription |
---|---|---|
net.pricefx.integration.route.backup.FileBackupRouteBuilder | fileBackupRouteBuilder | Route for backup files with messages. It moves files from one directory to another. |
net.pricefx.integration.route.backup.DeleteFileRouteBuilder | deleteFileRouteBuilder | Route that compresses backup files to the zip format. |
Property | Mandatory | Default Value | Description |
---|---|---|---|
integration.backup.enabled |
|
| Enables or disables autoconfiguration |
integration.backup.directory | x |
| Directory with backup messages |
integration.backup.source | x |
| Input directory with messages |
integration.backup.fileNamePattern |
| backup_${date:now:yyyy-MM-dd_HHmmss_SSS}.zip | File name of compressed file |
integration.backup.intervalCronExpression |
| 0+0+0+?+*+*+* | Sets interval of backup, cron expression |
integration.backup.cleanIntervalCronExpression |
| 0+0+0+?+*+*+* | Sets interval of cleanup for backup directory |
integration.backup.cleanFilesOlderThanDays |
| 30 | How old files will be removed from backup directory |
IntegrationManager version 6.0.0