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

How to delete/prune older data from optscale cluster #516

Open
Shikhar-Nahar opened this issue Jan 13, 2025 · 1 comment
Open

How to delete/prune older data from optscale cluster #516

Shikhar-Nahar opened this issue Jan 13, 2025 · 1 comment

Comments

@Shikhar-Nahar
Copy link

Currently the cluster is holding data more than 100GB+ in mongo alone

/optscale/mongo$ du -hs .
du: cannot read directory './journal': Permission denied
du: cannot read directory './diagnostic.data': Permission denied
122G	.

Want to check know how we can remove all data older than say 6 months from the cluster so the storage utilisation can be maintained.

@nk-hystax
Copy link
Collaborator

There is a cleanmongo service that clears all mongodb collections, but it works for deleted cloud accounts and organizations. I will create a ticket to implement the ability to automatically clean up data for a certain time period.

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