In this article:
What data at the GitLab group can be protection?
GitProtect allows you to protect groups with settings and the following metadata: milestones, boards, members, labels, badges, variables.
Enable group protection
When registering a GitLab organization, you should select the Protect groups option.
If your organization has been registered with GitProtect without the group protection option, you can turn it on at any time. To do this, go to the DevOps tab and select the Edit button next to the selected organization. Then enable protection and confirm your selection with the Save button.
Configure a backup plan
To create a new backup plan click on Add Plan button on the top bar in Plans tab. Select the GitLab plan type on the form (last item in the Backup type section).
In the next step, select the organization whose groups you want to backup.
At the bottom of organization list you can select to backup all available repositories by clicking on Protect all or select them manually by clicking Select groups.
The Data to protect tab allows you to toggle between protecting only a group and subgroups or including metadata with it (labels, milestones, badges, variables, members).
A description of the other fields of the plan form can be found here.
Start the restore process
Go to the DevOps tab, and then select the Groups button for the selected organization.
Find on the list the group for which you want to start the restore process and select the Restore option.
Then choose the plan and the version witch you want to restore from the list, and then click the Restore button.
By default the system restores whole group (all labales, variables etc.), but the metadata of the group is optional. GitProtect allows you to choose only part of metadata, which consists of: labels, milestones, badges, variables, members.
Each element can be included/excluded by turning on/off the switch next to it.
After choosing the group and the metadata that you want to include during the restore process click on Restore selected button or Restore all button, which will open another aside called Restore data.
It consists of 4 sections:
Data to restore
Which was available in the previous step, but you can still edit it.
That allows you to select the destination of restore process. At this moment it gives you possibility to select one of the assigned organizations of any Git service.
Where you can set the custom name for the group that will be created during the restore process.
Device used to restore the data
The last section, which gives possibility to choose the device, that will be responsible for performing the restore.
After defining all these parameters click Start now button, which will run the restore process.