-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Can't backup on linux #11878
Comments
I can backup within 1 s. Post out your gitea version and check your repo size. git@raspi-4B:~$ du -d 1 -h
12K ./.ssh
572K ./gitea-repositories
36K ./.gnupg
1012K .
git@raspi-4B:~$ ls -hl
total 368K
-rw------- 1 git git 364K Jun 15 10:59 gitea-dump-1592189988.zip
drwxr-xr-x 3 git git 4.0K Jun 15 09:40 gitea-repositories
git@raspi-4B:~$ gitea dump -c /etc/gitea/app.ini
2020/06/15 11:04:02 ...dules/setting/git.go:93:newGit() [I] Git Version: 2.20.1, Wire Protocol Version 2 Enabled
git@raspi-4B:~$ ls -hl
total 736K
-rw------- 1 git git 364K Jun 15 10:59 gitea-dump-1592189988.zip
-rw------- 1 git git 366K Jun 15 11:04 gitea-dump-1592190242.zip
drwxr-xr-x 3 git git 4.0K Jun 15 09:40 gitea-repositories
click to show log
tail -n 0 -f /var/lib/gitea/log/gitea.log
|
@jueti Fixed the info about the instance
|
This situation is similar to #9111. Try to exec I wish I would help you. |
Nevermind, it's 455MB of archive... after waiting a while it did get to the end. |
[x]
):2020/06/13 14:31:55 ...dules/setting/git.go:83:newGit() [I] Git Version: 2.20.1, Wire Protocol Version 2 Enabled
Description
I'm trying to backup my gitea instance with the usual command:
gitea dump -c /etc/gitea/app.ini
after
su git
but I'm given back the log as in the "Log gist:" section, a folder is created in/tmp/gitea-xxxxx
but nothing is in there.Meanwhile the log from
/var/lib/gitea/log/gitea.log
looks like:2020/06/13 14:50:52 ...dules/setting/log.go:269:newLogService() [I] Gitea Log Mode: File(File:info)
2020/06/13 14:50:52 ...les/setting/cache.go:42:newCacheService() [I] Cache Service Enabled
2020/06/13 14:50:52 ...s/setting/session.go:45:newSessionService() [I] Session Service Enabled
2020/06/13 14:50:52 cmd/dump.go:76:runDump() [I] Creating tmp work dir: /home/git/temp/gitea-dump-434487560
2020/06/13 14:50:52 cmd/dump.go:86:runDump() [I] Packing dump files...
and nothing more.
What could have gone wrong?
That's a precious backup that I need otherwise so many hours will be wasted :(
The text was updated successfully, but these errors were encountered: