-
Notifications
You must be signed in to change notification settings - Fork 512
Description
What would you like to be added
Wouldn't it be a great addition if there was a documented procedure or a CLI command to cleanup the DB from old ACME data ?
I would be happy to get a clue on how you would deal with DB data growth.
Why this is needed
We are using step-ca on production for more than 1 year now, and then our disk holds a badger database with ~40GB data. When using ACME challenges in the long run the database grows, and I found no relevant information about what could be done to get rid of old data (let's say all data for certificates issued before the last 3 months). I found the link to the export gist in the documentation as a starting point, but why would I stop the server and write Go code for such a task ?
I could migrate the DB from badger to mysql backend for easier maintenance, but even in that case, it seems to me there is no easy way to migrate without writing Go code...