pulp-operator icon indicating copy to clipboard operation
pulp-operator copied to clipboard

[RFE] Create a cronjob to run backups

Open git-hyagi opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Kubernetes has the cronjob resource that runs a job periodically on a given schedule. We could use it to schedule Pulp backups.

Describe the solution you'd like The operator could create a k8s cronjob resource that would create a PulpBackup instance to periodically run a backup and delete it as soon as the backup finishes.

Additional context We would probably need to also modify the backup controller implementation to keep different "versions" of files based on the data they were copied. Which, maybe, would also need to create another cronjob resource to rotate old backups!?

git-hyagi avatar Dec 01 '22 13:12 git-hyagi