Skip to content

Instantly share code, notes, and snippets.

@indywidualny
Last active December 11, 2018 12:25
Show Gist options
  • Save indywidualny/08309ae424aed0eada1ea8417589cfcb to your computer and use it in GitHub Desktop.
Save indywidualny/08309ae424aed0eada1ea8417589cfcb to your computer and use it in GitHub Desktop.
Access GitLab repositories directly from GitLab backup (without GitLab installation)
➜ ls
1544526681_2018_12_11_11.4.5_gitlab_backup.tar
➜ tar -xvf 1544526681_2018_12_11_12.2.1_gitlab_backup.tar
# Unpacking...
➜ ls
1544526681_2018_12_11_12.2.1_gitlab_backup.tar builds.tar.gz pages.tar.gz
artifacts.tar.gz db repositories
backup_information.yml lfs.tar.gz uploads.tar.gz
➜ cd repositories/example
➜ git clone example.wiki.bundle
Cloning into 'example.wiki'...
Receiving objects: 100% (448/448), 70.88 KiB | 1.57 MiB/s, done.
Resolving deltas: 100% (237/237), done.
➜ ls example.wiki
# List of files in the repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment