Git LFS Object Storage, How to migrate back to local storage?

If my writing feels rude, it is because my English is not good enough. I would like to apologize for this first. I am doing my best to write modestly to seek advice from many experts.

Problem to solve

I am using the Gitlab-ce 11.8 (Quite old version…I know…)

I also using LFS and tested object storage with AWS S3.

Migrating to object storage was ended with no issue and I want the data back to my local storage.

Firstly, I turned the value of “direct_upload” and “background_upload” to false under the LFS object storage settings and then “gitlab-ctl reconfigure” and “gitlab-ctl restart”.

Secondly, I tried the commands below:

sudo gitlab-rake gitlab:lfs:migrate_to_local
sudo gitlab-rake “gitlab:uploads:migrate_to_local:all”

but both commands told me:

  • In case of sudo gitlab-rake gitlab:lfs:migrate_to_local:

rake aborted!
Don’t know how to build task ‘gitlab:lfs:migrate_to_local’ (See the list of available tasks with rake --tasks)
Did you mean? gitlab:lfs:migrate
/opt/gitlab/embedded/bin/bundle:23:in load' /opt/gitlab/embedded/bin/bundle:23:in
(See full trace by running task with --trace)

  • In case of sudo gitlab-rake "gitlab:uploads:migrate_to_local:all":

rake aborted!
Don’t know how to build task ‘gitlab:uploads:migrate_to_local:all’ (See the list of available tasks with rake --tasks)
Did you mean? gitlab:uploads:migrate:all
/opt/gitlab/embedded/bin/bundle:23:in load' /opt/gitlab/embedded/bin/bundle:23:in
(See full trace by running task with --trace)

The result of gitlab-rake --tasks gitlab:lfs is:

rake gitlab:lfs:check    # GitLab | LFS | Check integrity of uploaded LFS objects
rake gitlab:lfs:migrate  # GitLab | Migrate LFS objects to remote storage

What command should I use?

Thank you for advance.

Configuration

Gitlab ce 11.8 (omnibus)
Centos 7

Versions

Please select whether options apply, and add the version information.

  • [ O ] Self-managed

Versions
11.8

I tried to check the old document (11.8) using Docker but I couldn’t find out the topics related to this issue. Whenever I tried to find the document in the old document, It showed me the latest version of the document…