Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Database dump contains no data when using "gitea dump -d postgres" #5659
I'm trying to migrate from MySQL to PostgreSQL and was advised (see #5651) that using gitea dump -d postgres might work. While this does indeed produce an SQL dump the inserts do not contain any data (see dump.txt ).
I've used the following command:
If there's anything missing or further information is required I'd be more than happy to provide it.
Maybe you can try to add '-v' to get more details.
Edit: Looking at the log message and https://github.com/go-gitea/gitea/blob/master/cmd/dump.go might give some clues.