"Seamlessly" migrating between 'git_data_dirs'.

6 views
Skip to first unread message

rot...@crux.org.pl

unread,
Nov 21, 2016, 5:53:29 AM11/21/16
to GitLab
Hi,

I've already posted this to gitlab-ce issue tracker (https://gitlab.com/gitlab-org/gitlab-ce/issues/24655), but it is more of a question than an issue so let me rephrase it here:

I want to migrate from one storage to another, so I've got my new storage mounted and added to the 'git_data_dirs' like this:
git_data_dirs({
        "default" => "/mnt/gitlab/data",
        "shard1"  => "/mnt/gitlab_shard"
})
moved one of the groups ('/mnt/gitlab/data/repositories/mygroup/') with contents and same permissions from 'default' to 'shard1' and all I get is empty gitlab repository:
https://gitlab.com/gitlab-org/gitlab-ce/uploads/6a74ca74898ae1d50898f95571a9b8a8/Screen_Shot_2016-11-18_at_18.37.29.png
gitlab-rake gitlab:check doesn't show anything suspicious, there is something that I'm doing wrong, not sure what though.
Reply all
Reply to author
Forward
0 new messages