Closed
Description
Description
If I understand correctly, Gitea uses hard links for forked repositories which saves considerable amount of space. Unfortunately, gitea dump
saves each file individually because zip
cannot work with hard links and dereferences them. By that, large repositories which are forked multiple times take up a lot of space in the backup.
I propose to use tar
instead which can cope with hard links. However, I'm not sure whether this is compatible with Gitea on other systems than GNU/Linux, or how hard links work on such operating systems.