프로젝트 가져오기 및 내보내기 Rake 작업
Tier: Free, Premium, Ultimate
Offering: Self-managed
GitLab은 프로젝트 가져오기 및 내보내기를 위한 Rake 작업을 제공합니다.
호환되는 GitLab 인스턴스에서만 가져올 수 있습니다.
대규모 프로젝트 가져오기
대규모 GitLab 프로젝트 내보내기 가져오기 작업을 사용합니다.
이 작업의 일환으로 직접 업로드를 비활성화합니다. 이는 대용량 아카이브를 GCS에 업로드하는 것을 방지하여 유휴 트랜잭션 타임아웃을 유발할 수 있습니다.
터미널에서 이 작업을 실행할 수 있습니다:
매개변수:
속성 | 유형 | 필수 | 설명 |
---|---|---|---|
username |
string | yes | 사용자 이름 |
namespace_path |
string | yes | 네임스페이스 경로 |
project_path |
string | yes | 프로젝트 경로 |
archive_path |
string | yes | 가져오고 싶은 내보내기 프로젝트 tarball의 경로 |
리눅스 패키지 (Omnibus)
gitlab-rake "gitlab:import_export:import[root, group/subgroup, testingprojectimport, /path/to/file.tar.gz]"
소스에서 컴파일한 버전
bundle exec rake "gitlab:import_export:import[root, group/subgroup, testingprojectimport, /path/to/file.tar.gz]" RAILS_ENV=production
대규모 프로젝트 내보내기
대규모 프로젝트를 내보내려면 Rake 작업을 사용할 수 있습니다.
매개변수:
속성 | 유형 | 필수 | 설명 |
---|---|---|---|
username |
string | yes | 사용자 이름 |
namespace_path |
string | yes | 네임스페이스 경로 |
project_path |
string | yes | 프로젝트 이름 |
archive_path |
string | yes | 내보내기 프로젝트 tarball을 저장할 파일의 경로 |
gitlab-rake "gitlab:import_export:export[username, namespace_path, project_path, archive_path]"