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

Consider replacing cron with supercronic #227

Closed
LeoAdamek opened this issue Jun 14, 2024 · 1 comment
Closed

Consider replacing cron with supercronic #227

LeoAdamek opened this issue Jun 14, 2024 · 1 comment

Comments

@LeoAdamek
Copy link

As per Fly's docs -- Standard system cron daemons aren't very suited to container-based environments. Primarily because they clear the env to prevent disseminating secrets.

However this means that some barman features just don't quite work right, such as using barman-cloud-wal-archive as a pre-archive script hook to automatically relay WALs to external storage. It'd be great if supercronic shipped in the image for this purpose, and the start command would use this instead.

Currently my workaround is to add the pre_archive script to my barman.conf manually and manually download and run supercronic via nohup so as not to need modification to the container image.

If a PR is wanted, I could look at it next week I think.

@davissp14
Copy link
Contributor

davissp14 commented Jul 6, 2024

@LeoAdamek Just an fyi, we are looking to deprecate the separate barman machine in favor of running archiving next to the primary, which should simplify on-going management.

We haven't cut a release for this yet, but some details can be found here: #231

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

No branches or pull requests

2 participants