sameersbn / sameersbn/docker-gitlab

Backup gitlab from docker container to external machine

Open
#1,465 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.