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

gitea dump should have option to ignore bleve index #20683

Closed
johanvdw opened this issue Aug 5, 2022 · 0 comments · Fixed by #21501
Closed

gitea dump should have option to ignore bleve index #20683

johanvdw opened this issue Aug 5, 2022 · 0 comments · Fixed by #21501
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@johanvdw
Copy link
Contributor

johanvdw commented Aug 5, 2022

Feature Description

I noticed that about half of the size of our gitea dumps is the file data/indexers/repos.bleve (1.7 Gb)

I'm considering adding an option to skip these indexers when calling gitea dump, similar to how lfs and attachment data can be skipped.

However, before diving in the code: do you think this is a good idea? Would restore from such a dump still work?

Screenshots

No response

@johanvdw johanvdw added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Aug 5, 2022
johanvdw added a commit to johanvdw/gitea that referenced this issue Oct 18, 2022
lunny added a commit that referenced this issue Oct 24, 2022
closes #20683

Add an option to gitea dump to skip the bleve indexes, which can become
quite large (in my case the same size as the repo's) and can be
regenerated after restore.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant