Rake task for moving repositories to new storage

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

We need a method to batch move repositories to a new storage location

Target audience

  • Storage Administrators
  • Repo Administrators
  • GitLab Instance Administrators

Further details

  • Sometimes an instance for which GitLab runs may run low on storage (repos have grown)
  • Sometimes an instance for which GitLab runs on may have an issue with it's underlying storage invisible to GitLab (disk corruption)
  • Sometimes a smooth migration between GitLab instances have the ability to share a storage backend (nfs/ceph/etc)

Proposal

  • Create a rake task that allows one to target an in use storage location for repos, and choose X method to move them to a targeted storage location.

What does success look like, and how can we measure that?

When we can easily migrate storage of repositories without downtime to GitLab itself.

Links / references

Edited by 🤖 GitLab Bot 🤖