Improve backups and recovery of individual projects
Description
It was only recently I became aware of the poor state of backups and recovery in GitLab. The fact that you can recover if you have a big disaster back to a certain state, but it is very hard to recover an individual project. Only doing a full dump of the database, severely limits individual project recovery. Currently it seems to me that without knowing the database and using SQL, the only way seems to be recover to a test GitLab system then export the project and import it into your production system. Unfortunately the export/import system is only accessible by the web interface for individual projects and only designed for downloading. There is no command line support or API support.
Proposal
Allow exporting and importing of projects to be incorporated into a more complete backup strategy. Export/Import should be supported by rake commands . E.g. rake gitlab:export:create to create exports of all projects into a backup directory.
rake gitlab:import:create project/all, import 1 to all projects
Maybe a better way is to incorporate the creating of the project.json that export creates into the current backups for each project.
Documentation blurb
Used to create a more flexible and rounded backup solution so recovery of individual projects would be easy.
This would work by incorporating exporting and importing into the backup strategy.
Regular exporting of projects to a backup file system would then allow easy recovery of individual projects.