-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Migrating gitea repo to gitea repo leads to really huge repository #19533
Comments
I think our problem and things we faced is similar to you #19593 |
Hello ! As I see you ask for differential backup you could still try to make it repo per repo : https://docs.gitea.io/en-us/command-line/#dump-repo |
Yes, with ./gitea dump command. Oh I see you are importing a huge repository from another instance. Our problem is using dump to export a huge SQL database.emmmm I kindly hope Gitea official add " incremental"and"and"differential" backup mode(and restore),This may not a formal backup mode like other snapshot software(I guess),What I mentioned maybe like " incremental"and"and"differential" export database ? |
Description
Hello
While working on another bug I tried to import the problematic repository from my other gitea instance.
I noticed that the migration takes a really long time and is consuming disk space
Original Gitea instance : 1.16.5 - Repository Size : 862M with 2,6k Pull requests
Migration Gitea Instance : built from source (1.17...) - Repository size (migration still not finished) 100Gb
When all the disk space is consumed, the task fail and the repository is deleted.
Gitea Version
1.16.5 / 1.17 dev
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
Operating System
Linux
How are you running Gitea?
The original gitea is on Docker 1.16.5 with postgresql
The migration is taking part on a built from source on Linux Ubuntu 18.04 with sqlite, and does the same with a PGsql
Database
SQLite & Postgresql
The text was updated successfully, but these errors were encountered: