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

Remove logicalBackupSchedule pattern spec from the postgresql CRD. #2323

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bwrobc
Copy link

@bwrobc bwrobc commented May 16, 2023

The pattern only validates the most basic cron schedules, and fails with the use of intervals, lists, ranges, etc.

from the postgresql CRD.

The pattern only validates the most basic cron schedules, and fail with the use of intervals, lists, ranges, etc.
@bwrobc
Copy link
Author

bwrobc commented May 16, 2023

FWIW see here for some attempts to create a comprehensive cron schedule regex.

@FxKu
Copy link
Member

FxKu commented Nov 17, 2023

I don't get what are you trying to achieve here? This is about scheduling pg_dump. Do you really need all the cron flexibility there? Normally, our users use WAL archiving for backups and recovery, and logical backups only if they want to keep backups for a longer time since we use retention with the base backups. So therefore, being able to specify points in time with the schedule is good enough. What requirements do you have?

@bwrobc
Copy link
Author

bwrobc commented Nov 21, 2023

It's a while ago now, but as I recall I was running a frequent schedule for test purposes and wanted to limit it to office hours on weekdays.

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.

None yet

2 participants