mahyarss
mahyarss

Reputation: 23

Gitlab - Is possible restore repositories files without DB backups?

I'm using bitnami gitlab stack on Vmware Vsphere ESXi 5.5, I have accidently deleted ibdata1 and mysql restarted. I don't have any backup, Only i can go to last Snapshop.

I need help to know is possible restore current repositories files with copy on last snapshot files?

Upvotes: 2

Views: 4969

Answers (1)

Razer
Razer

Reputation: 8211

The repositories are saved in repos_path defined in gitlab.yml. You can backup the repositories, and then reinstall GitLab from scratch.

GitLab has a import script to import existing repositories to GitLab. You can run the script, to get the projects recreated. Since you deleted the database, all existing events, comments, issues are lost!

Upvotes: 3

Related Questions