Provide a method to move all repositories from Gitaly storage to another
Problem to solve
With Gitaly-Clusters becoming available, customers are asking how they can move all of their existing repositories onto the cluster. Currently we have an API to transfer single projects, but no automated way to transfer an entire Gitaly storage.
Customers currently need to manually copy repo data from their existing host to the new servers, which is risky and error-prone.
Intended users
User experience goal
Provide a simple and reliable way to transfer large numbers of projects to a new Gitaly storage.
Proposal
A rake task seems like the logical way to do this. The source and target storages would need to be either read-only or entirely unavailable during the transfer.
What does success look like, and how can we measure that?
Admins are able to transfer all projects on one Gitaly storage to another with a single command.
What is the type of buyer?
Premium and above, we have seen this request specifically related to Gitaly-Clusters.
Is this a cross-stage feature?
No
Links / references
/cc @jramsay