sameersbn / sameersbn/docker-gitlab
Backup gitlab from docker container to external machine
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
I'm working using two machines,
First machine: contain the gitlab container
Second machine : it's a machine for backup and it contains a script for getting the backup
#!/bin/bash
Server="mymachine.domain.com"
User="root"
distant_command="gitlab-rake gitlab:backup:create"
What i want is to use the second machine to get gitlab backup from the first machine that contain the gitlab container.
What i should do about this line distant_command="gitlab-rake gitlab:backup:create"
I want to apply from the second machine on the container in the first machine
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the backup script shown in the issue, especially the distant_command assignment, and review how commands are executed inside the dockerized GitLab container. Confirm the documented workflow can trigger gitlab-rake gitlab:backup:create from the second machine and retrieve the resulting backup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100