Gitlab-ce-16.7.0 When I restored the backup, all the projects were shown as skipped restore. As a result, the entry page showed a project list, but all the projects contents were empty

Replace this template with your information

version: gitlab-ce-16.7.0
operation: restore backup file

When I restored the backup, all the projects were shown as skipped restore. As a result, the entry page showed a project list, but all the projects contents were empty.

tips: { “level”: “warning”, “msg”: “skipped store” }

why?
What can I do to make it perform normally?

thanks!

The logs don’t output any errors, where can I find some information? Help me !

I have encountered the same problem. I do not know what causes it, but have found that directly copying the old repositories folder’s contents into the new one after performing the restore (including the db) solves the empty repo problem. You will have to fix permissions (chown -R git:git <repo folder> within container, or 998:998 from outside) and restart gitlab afterwards. I had to overwrite the existing +gitaly folder and .gitaly-metadata file, which was fine because there weren’t any projects in the new repos folder yet. I’m not sure about merging those files, I would back them up before overwriting in any case. Hope that helps. Feel free to shoot me a direct message if not.

I ran into the same problem and the recovery process skipped repositories. The log is as follows
[10:11:52]{“command”:“restore”,“gl_project_path”:“myproject/commons.design”,“level”:“warning”,“msg”:“skipped restore”,“pid”:25183,“relative_path”:"@hashed/d4/73/d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35.des Ign. Git storage_name “, “” :” default ", “time” : “the 2024-04-05 T02:11:50. 006 z”}

Have you solved the problem?

Running into this too now. This backup / restore procedure is inscrutable and dangerous. I don’t think I’ve ever had a clean experience with it.