Skip to content

Add StorageService::DeleteAllRepositories RPC

Jacob Vosmaer requested to merge delete-all-repositories into master

For #1194 (closed)

This is a scary RPC that we need to migrate the GitLab backup restore script. During a backup restore we need to delete all existing repository data on the server.

The legacy implementation moves the directories into a temporary trash directory that the administrator must remove manually on the server (with SSH). The Gitaly version improves on this slightly, by removing the trash directory automatically after 7 days.

Edited by GitLab Release Tools Bot

Merge request reports