Skip to content

Skip empty repositories when restoring from a backup

Prevent from aborting a restore when we hit an empty project. An empty project remains in the database but has no git data. By checking its repository_size value to be eq 0.0, we can skip its git data restoration. The project's db data are not lost.

Merge request reports