-
-
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
Database dump contains no data when using "gitea dump -d postgres" #5659
Comments
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. |
Absolutely: gitea_dump_verbose.txt Unfortunately gitea does not seem to be logging much for the database dump. |
@mpraeger Do you have the log file |
I've just tested dumping to sqlite3, that produced a proper dump. |
Alright so going from MySQL to sqlite3 and then issuing |
I accidentally found the same issue, and figured out, how to fix : go-xorm/xorm#1186 |
@gzsombor merged in that xorm's PR, please send a vendor update PR on gitea. |
Closed with #5680 |
[x]
):Description
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.
Thanks!
Screenshots
The text was updated successfully, but these errors were encountered: