how restore my gitea repositories #7778

Closed
opened 2025-11-02 07:36:15 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @ssmns on GitHub (Aug 30, 2021).

My MySQL database was corrupted. I haven't any backup, so in this situation how can restore my repositories? I have all my directories and configurations.

Originally created by @ssmns on GitHub (Aug 30, 2021). My MySQL database was corrupted. I haven't any backup, so in this situation how can restore my repositories? I have all my directories and configurations.
GiteaMirror added the type/question label 2025-11-02 07:36:15 -06:00
Author
Owner

@lunny commented on GitHub (Aug 30, 2021):

You can use adopt feature on admin panel. Only git data will be taken back. But your issues and PRs and other things stored on database will not be taken back.

@lunny commented on GitHub (Aug 30, 2021): You can use adopt feature on admin panel. Only git data will be taken back. But your issues and PRs and other things stored on database will not be taken back.
Author
Owner

@wxiaoguang commented on GitHub (Sep 2, 2021):

@ssmns

To be honest, in most cases, a corrupted MySQL database can be mostly recovered.

As lunny said, without database recovery, you only have your git repository data. So if the database wasn't deleted and just corrupted, it's better to ask help from a DBA.

@wxiaoguang commented on GitHub (Sep 2, 2021): @ssmns To be honest, in most cases, a corrupted MySQL database can be mostly recovered. As lunny said, without database recovery, you only have your git repository data. So if the database wasn't deleted and just corrupted, it's better to ask help from a DBA.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7778