Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ikasan 2364 backfill h2 backup changes discovered while testing #1296

Conversation

mick-stewart73
Copy link
Member

No description provided.

| datasource.username | The H2 database username | |
| datasource.password | The H2 database password | |
| default.ikasan.h2.backup.num.to.retain | The number of backups to retain | 2 |
| default.ikasan.h2.backup.cron.expression | The Quartz cron schedule on which the backups are taken | 37 0/5 * * * ? |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems the default ikasan backup is at 17 sec not 37

ikasaneip/platform/ikasan-h2-backup/readme.md Show resolved Hide resolved
@@ -33,12 +40,18 @@ public class IkasanBackupAutoConfiguration {
@Value("${default.ikasan.h2.backup.num.to.retain:2}")
private int defaultIkasanDatabaseBackupNumToRetain;

@Value("${default.ikasan.h2.backup.cron.expression:17 0/1 * * * ?}")
@Value("${default.ikasan.h2.backup.cron.expression:17 0/5 * * * ?}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double check documentation

@Value("${h2.db.port}")
private int eaiH2PortNumber;

@Value("${eai.h2.port.number.step:1000}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we think 1000 step is good, or should be different for Ikasan

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is configurable so in my opinion yes.

@andrzej-majewski andrzej-majewski merged commit 3656f9b into 4.0.x May 6, 2024
2 checks passed
@andrzej-majewski andrzej-majewski deleted the IKASAN-2364-backfill-h2-backup-changes-discovered-while-testing branch May 6, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants