Add `--skip-repo-archive` option to `gitea dump`
Closed this issue · 0 comments
h7x4 commented
Feature Description
Hello!
We are running an gitea instance on a somewhat space limited system. We are struggling with large gitea dumps, and the main space offender seem to be that the dumps include all of the zips and tarballs generated whenever someone clicks the download link on a repo (likely scrapers and bots for the most part). We don't see any need to keep these files in the dumps, as they can easily be regenerated whenever needed.
We have thought about working our way around this by either:
- deleting the archives right before
gitea dump(not great, we'd like to just have the builtin cronjob purge them at a reasonable time) - unpacking the dumps afterwards, removing the repo archives and repacking (not great either, unnecessary use of disk and compute, need more space for temporary storage of the files).
Would it be possible to add yet another --skip-* option for the repo archives?
Screenshots
No response