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

SolrBackup should call DELETEBACKUP with purgeUnused=true #772

Open
killdash9 opened this issue Mar 18, 2025 · 0 comments
Open

SolrBackup should call DELETEBACKUP with purgeUnused=true #772

killdash9 opened this issue Mar 18, 2025 · 0 comments

Comments

@killdash9
Copy link

killdash9 commented Mar 18, 2025

When keeping only the most recent n backups, orphaned files can accumulate in the backup repository. Calling

/solr/admin/collections?action=DELETEBACKUP&name=myBackupName&location=/path/to/my/shared/drive&purgeUnused=true will clean those up. See https://solr.apache.org/guide/solr/latest/deployment-guide/collection-management.html for documentation on this api call.

The SolrBackup CRD should call this api as part of managing recurring backups.

This was part of the original plan in #359 but it was abandoned due to a bug with that api which has since been fixed. Details are in #359's comment threads.

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

1 participant