Hi all!
I have two GitLab CE servers (v14) on two different machines. One is primary = gitlab1. The other (=gitlab2) is for “backup”. I hope I will never need it. The first (=primary) GitLab server has other backups too!!
Today I created a script thats “copies” the group / subgroup / project structure of the gitlab1 to the gitlab2. Using the API v4.
Than it adds a special member to each project on “gitlab2”.
Than the script adds a remote mirror to each project on “gitlab1” pointing to the project on “gitlab2”.
Thats all fine. It works.
But the remote mirror sync does not get started. There seems to be no way to start the sync by using the API. - I can start it on the Web GUI. But I habe some 100 of projects… I’d like to sync them once automatically.
Any idea?
Regards
Ingo