Internal trigger to export all subgroups and projects of a group
This is part of: #241379 (comment 402977708)
Goal
- To create mechanism to automatically trigger the export for a Group, all the subgroups and all the projects in the subgroups.
- To create functionality that will bundle all the already exported files from that group into a single file for download
Why
We need to restore the data from an accidentally deleted group from a back up. There are a lot of subgroups and projects in this group and restoring them manually would take too long.
Caveats
- The projects in this group point to repos that no longer exist. It's very likely that we also want to skip the repo export of these projects so that the repos can be manually replaced later, and are not invalid on import.
- The projects in this group will need to be restored into the right place on the group hierarchy on another instance. We will need to ensure that we can get the right structure from this import data.