[x]
):C:\GIT>gitea.exe dump --config C:\Git\gitea\custom\conf\app.ini
2019/01/16 16:22:24 Creating tmp work dir: C:\Users\ADMKAH~1\AppData\Local\Temp\2\gitea-dump-660525307
2019/01/16 16:22:24 Dumping local repositories...C:\GIT\repos
2019/01/16 16:22:27 Dumping database...
2019/01/16 16:22:28 Packing dump files...
2019/01/16 16:22:28 Custom dir C:/GIT/custom doesn't exist, skipped
2019/01/16 16:22:28 Packing data directory...C:/GIT/gitea/data
2019/01/16 16:22:30 Removing tmp work dir: C:\Users\ADMKAH~1\AppData\Local\Temp\2\gitea-dump-660525307
2019/01/16 16:22:30 Finish dumping in file gitea-dump-1547652148.zip
I want to update the Gitea version and follow the update guide in the docs. So I create a backup through the dump command and two things does not work correct.
This is the directory structure:
C:\Git
├───gitea
│ ├───custom
│ │ ├───certs
│ │ └───conf
│ ├───data
│ │ ├───avatars
│ │ └───sessions
│ ├───indexers
│ │ └───issues.bleve
│ ├───log
│ └───public
└───repos
Please fix the issues. Thanks.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Same problem here:
Latest version of gitea (1.9.3), dump creates a 1kb file with nothing in it.
c:gitea>gitea.exe dump --config c:gitea\custom\conf\app.ini
2019/09/24 16:50:52 ...dules/setting/git.go:83:newGit() [I] Git Version: 2.21.0, Wire Protocol Version 2 Enabled
It works after stopping the service.
It could be that Gitea can not read files that are already open in Windows and I don't know what can be done here
Most helpful comment
It works after stopping the service.