# \#mirroring

**URL:** https://forum.gitlab.com/tag/mirroring/84.md

[Latest](https://forum.gitlab.com/latest.md) · [Categories](https://forum.gitlab.com/categories.md) · [Tags](https://forum.gitlab.com/tags.md)

---

## [Automatic pipeline triggering on pull mirror repository](https://forum.gitlab.com/t/automatic-pipeline-triggering-on-pull-mirror-repository/131694)

<div class="topic-metadata">

**Author:** [@luc\_stoffer](https://forum.gitlab.com/u/luc_stoffer)\
**Replies:** 4\
**Last updated:** [January 29, 2026, 10:10am UTC](https://forum.gitlab.com/t/automatic-pipeline-triggering-on-pull-mirror-repository/131694 "2026-01-29T10:10:43Z")

</div>

Problem to solve I use a repository that is configured to be a pull mirror of a repository hosted somewhere else. The remote repository gets new updates including new tags that get pulled into my Gitlab Repository, so ev…

---

## [Http proxy sometimes failed](https://forum.gitlab.com/t/http-proxy-sometimes-failed/89501)

<div class="topic-metadata">

**Author:** [@browse](https://forum.gitlab.com/u/browse)\
**Replies:** 4\
**Last updated:** [November 10, 2025, 9:40pm UTC](https://forum.gitlab.com/t/http-proxy-sometimes-failed/89501 "2025-11-10T21:40:14Z")

</div>

I want to use mirror feature with http proxy, and I set gitlab\_rails\['env'\] as described in Setting custom environment variables | GitLab. But the proxy sometimes failed, and there is no related log in /var/log/gitlab/g…

---

## [Unable to Use Mirrored Component - "the component path is not supported"](https://forum.gitlab.com/t/unable-to-use-mirrored-component-the-component-path-is-not-supported/131200)

<div class="topic-metadata">

**Author:** [@Scott-McMullan](https://forum.gitlab.com/u/Scott-McMullan)\
**Replies:** 5\
**Last updated:** [November 3, 2025, 4:21am UTC](https://forum.gitlab.com/t/unable-to-use-mirrored-component-the-component-path-is-not-supported/131200 "2025-11-03T04:21:16Z")

</div>

My company uses a self-hosted instance of GitLab. We’d like to use some of the official GitLab CI/CD components, but we discovered that we cannot use them directly. To solve this, I have created a mirror repository for…

---

## [SSH repository mirroring stopped working after updating from 17.11.7 to 18.2.8](https://forum.gitlab.com/t/ssh-repository-mirroring-stopped-working-after-updating-from-17-11-7-to-18-2-8/131195)

<div class="topic-metadata">

**Author:** [@maworley](https://forum.gitlab.com/u/maworley)\
**Replies:** 2\
**Last updated:** [October 30, 2025, 9:01pm UTC](https://forum.gitlab.com/t/ssh-repository-mirroring-stopped-working-after-updating-from-17-11-7-to-18-2-8/131195 "2025-10-30T21:01:38Z")

</div>

Problem to solve I recently updated my self managed gitlab-ee docker from 17.11.7 to 18.2.8. It is a docker image running on a rocky 8 host. The host is fips enabled. I passed the environment variable openssl\_force\_fips\_…

---

## [Specific branches mirroring not working properly](https://forum.gitlab.com/t/specific-branches-mirroring-not-working-properly/130127)

<div class="topic-metadata">

**Author:** [@reinaortega](https://forum.gitlab.com/u/reinaortega)\
**Replies:** 2\
**Last updated:** [September 27, 2025, 1:26am UTC](https://forum.gitlab.com/t/specific-branches-mirroring-not-working-properly/130127 "2025-09-27T01:26:26Z")

</div>

Summary When mirroring a Gitlab repository using push mode, and only mirroring specific branches, Gitlab mirrors all branches without taking into account the regular expression defined as rule. Steps to reproduce Sett…

---

## [Pull Mirroring SSL Handshake Failure](https://forum.gitlab.com/t/pull-mirroring-ssl-handshake-failure/130502)

<div class="topic-metadata">

**Author:** [@safeer](https://forum.gitlab.com/u/safeer)\
**Replies:** 1\
**Last updated:** [September 24, 2025, 4:28pm UTC](https://forum.gitlab.com/t/pull-mirroring-ssl-handshake-failure/130502 "2025-09-24T16:28:11Z")

</div>

Problem to solve I have a self hosted GitLab instance that must pull mirror from another GitLab instance via HTTPS. I added all the necessary certificates to /etc/gitlab/trusted-certs/ and the mirroring works fine. Howev…

---

## [fork synching by using mirroring repositories fails](https://forum.gitlab.com/t/fork-synching-by-using-mirroring-repositories-fails/32235)

<div class="topic-metadata">

**Author:** [@mkolstein](https://forum.gitlab.com/u/mkolstein)\
**Replies:** 4\
**Last updated:** [August 19, 2025, 12:51pm UTC](https://forum.gitlab.com/t/fork-synching-by-using-mirroring-repositories-fails/32235 "2025-08-19T12:51:04Z")

</div>

I am trying to learn how to work with GitLab. I have a repository and various branches and all that works fine. I also created a forked repository, which also works fine. Now, somehow, I automatically want to get an upda…

---

## [Gitlab push mirroring security](https://forum.gitlab.com/t/gitlab-push-mirroring-security/129324)

<div class="topic-metadata">

**Author:** [@itdcah](https://forum.gitlab.com/u/itdcah)\
**Replies:** 1\
**Last updated:** [August 13, 2025, 11:28pm UTC](https://forum.gitlab.com/t/gitlab-push-mirroring-security/129324 "2025-08-13T23:28:34Z")

</div>

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data. Problem to solve I’m researching …

---

## [Mirror to GitHub - Remove deleted branches](https://forum.gitlab.com/t/mirror-to-github-remove-deleted-branches/129202)

<div class="topic-metadata">

**Author:** [@s2software](https://forum.gitlab.com/u/s2software)\
**Replies:** 0\
**Last updated:** [August 4, 2025, 11:48am UTC](https://forum.gitlab.com/t/mirror-to-github-remove-deleted-branches/129202 "2025-08-04T11:48:16Z")

</div>

Hello, I activated a mirror from a GitLab repo to a GitHub repo following this guide (credential via GitHub’s Fine-grained personal access tokens with Contents R/W). Everything is working fine, except that, when a bran…

---

## [Push mirroring between two different version of gitlab](https://forum.gitlab.com/t/push-mirroring-between-two-different-version-of-gitlab/126628)

<div class="topic-metadata">

**Author:** [@tabals](https://forum.gitlab.com/u/tabals)\
**Replies:** 2\
**Last updated:** [June 4, 2025, 7:38am UTC](https://forum.gitlab.com/t/push-mirroring-between-two-different-version-of-gitlab/126628 "2025-06-04T07:38:27Z")

</div>

Hi, i was asking to myself if it was possible to activate push mirroring from a gitlab v.11.7.4 to a gitlab v.18.0.1, in fact in my case i use gitlab just as a centered repository (branch, commits and tags). My idea was …

---

## [Understanding Bidirectional Mirroring](https://forum.gitlab.com/t/understanding-bidirectional-mirroring/120710)

<div class="topic-metadata">

**Author:** [@akosH](https://forum.gitlab.com/u/akosH)\
**Replies:** 0\
**Last updated:** [February 3, 2025, 6:10am UTC](https://forum.gitlab.com/t/understanding-bidirectional-mirroring/120710 "2025-02-03T06:10:41Z")

</div>

Problem to solve Describe your question in as much detail as possible: Hi everyone, I’m trying to fully understand bidirectional mirroring in GitLab. The documentation states: “Bidirectional mirroring configures two …

---

## [Activating project mirroring on a per-project basis](https://forum.gitlab.com/t/activating-project-mirroring-on-a-per-project-basis/120338)

<div class="topic-metadata">

**Author:** [@SL45](https://forum.gitlab.com/u/SL45)\
**Replies:** 0\
**Last updated:** [January 24, 2025, 3:54pm UTC](https://forum.gitlab.com/t/activating-project-mirroring-on-a-per-project-basis/120338 "2025-01-24T15:54:49Z")

</div>

Problem to solve According to the latest documentation it should be possible to activate project-mirroring on a per-project basis. Yet, when my administrator clicks the left sidebar, “Admin” bottom he reaches the instan…

---

## [When setting the "Mirror only protected branches" parameter, everything is copied.](https://forum.gitlab.com/t/when-setting-the-mirror-only-protected-branches-parameter-everything-is-copied/117120)

<div class="topic-metadata">

**Author:** [@brrrr66](https://forum.gitlab.com/u/brrrr66)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 12:04pm UTC](https://forum.gitlab.com/t/when-setting-the-mirror-only-protected-branches-parameter-everything-is-copied/117120 "2024-11-19T12:04:21Z")

</div>

Hi Problem to solve When configuring the mirror, I set the “Mirror only protected branches” parameter, I have not yet selected an protected branch in settings, and after configuring all my branches are copied to a remot…

---

## [HTTP 500 after repository mirroring](https://forum.gitlab.com/t/http-500-after-repository-mirroring/111447)

<div class="topic-metadata">

**Author:** [@pipeline-professor](https://forum.gitlab.com/u/pipeline-professor)\
**Replies:** 0\
**Last updated:** [September 12, 2024, 10:52am UTC](https://forum.gitlab.com/t/http-500-after-repository-mirroring/111447 "2024-09-12T10:52:50Z")

</div>

Dear GitLab Community Forum, I’m having an issue with a self-hosted GitLab Instance and would be glad, if someone has an idea, how this could be fixed. Please find my description below. In case there’s any information …

---

## [When mirroring project, direction selector is disabled - only "push" available](https://forum.gitlab.com/t/when-mirroring-project-direction-selector-is-disabled-only-push-available/25173)

<div class="topic-metadata">

**Author:** [@naomi](https://forum.gitlab.com/u/naomi)\
**Replies:** 6\
**Last updated:** [September 8, 2024, 2:46pm UTC](https://forum.gitlab.com/t/when-mirroring-project-direction-selector-is-disabled-only-push-available/25173 "2024-09-08T14:46:44Z")

</div>

I have forked a project and I want my fork to automatically pull from upstream. But the “pull” direction is not available - see screenshot

---

## [Repository Mirroring Security](https://forum.gitlab.com/t/repository-mirroring-security/108004)

<div class="topic-metadata">

**Author:** [@lmarac](https://forum.gitlab.com/u/lmarac)\
**Replies:** 1\
**Last updated:** [August 5, 2024, 1:33pm UTC](https://forum.gitlab.com/t/repository-mirroring-security/108004 "2024-08-05T13:33:55Z")

</div>

Hello community, I work for a company that needs to implement Repository Mirroring on our self-hosted GitLab instance. However, due to our internal security policy, I need to understand how the password for the mirrored…

---

## [How to use mirroring for a simple repository fork, both on gitlab - 301 error](https://forum.gitlab.com/t/how-to-use-mirroring-for-a-simple-repository-fork-both-on-gitlab-301-error/48813)

<div class="topic-metadata">

**Author:** [@gvh1234](https://forum.gitlab.com/u/gvh1234)\
**Replies:** 2\
**Last updated:** [August 1, 2024, 1:28pm UTC](https://forum.gitlab.com/t/how-to-use-mirroring-for-a-simple-repository-fork-both-on-gitlab-301-error/48813 "2024-08-01T13:28:22Z")

</div>

Looking for clarity on how to keep my fork of a repo in sync I’m new to Gitlab and contributing to a small open source project. I forked the repo, did a branch, did a merge request back to the original project and we’re …

---

## [SSH push mirror to Google Source stopped working](https://forum.gitlab.com/t/ssh-push-mirror-to-google-source-stopped-working/95448)

<div class="topic-metadata">

**Author:** [@baskang](https://forum.gitlab.com/u/baskang)\
**Replies:** 15\
**Last updated:** [July 8, 2024, 5:12am UTC](https://forum.gitlab.com/t/ssh-push-mirror-to-google-source-stopped-working/95448 "2024-07-08T05:12:06Z")

</div>

Dear All, Since October the 20th, all my mirrors in different projects stopped working. I have not made any changes to global gitlab/google settings. Any idea what could cause this issue? This is the error message: 1…

---

## [Repository mirroring will not accept git@hostname:path/to/repo.git URL](https://forum.gitlab.com/t/repository-mirroring-will-not-accept-git-hostname-path-to-repo-git-url/92558)

<div class="topic-metadata">

**Author:** [@elyograg](https://forum.gitlab.com/u/elyograg)\
**Replies:** 8\
**Last updated:** [July 5, 2024, 2:28pm UTC](https://forum.gitlab.com/t/repository-mirroring-will-not-accept-git-hostname-path-to-repo-git-url/92558 "2024-07-05T14:28:44Z")

</div>

Must use ssh:// URLs for repository mirroring, the git@hostname kind will not work. When I was setting up push mirroring on gitlab-ce (currently 16.3.3) I tried to give it the ssh URL that I obtained from the remote serv…

---

## [Push mirror on v16.9 fails with 'The remote mirror URL is invalid.'](https://forum.gitlab.com/t/push-mirror-on-v16-9-fails-with-the-remote-mirror-url-is-invalid/106069)

<div class="topic-metadata">

**Author:** [@outofcontrol](https://forum.gitlab.com/u/outofcontrol)\
**Replies:** 3\
**Last updated:** [June 25, 2024, 3:23pm UTC](https://forum.gitlab.com/t/push-mirror-on-v16-9-fails-with-the-remote-mirror-url-is-invalid/106069 "2024-06-25T15:23:44Z")

</div>

Under GitLab v16.8 this worked fine. In v16.9 it appears to be broken. Our versions and stuff System information System: Ubuntu 22.04 Current User: git Using RVM: no Ruby Version: 3.1.4p223 Gem Version: 3.3.26 Bundler …

---

## [Mirroring to bitbucket](https://forum.gitlab.com/t/mirroring-to-bitbucket/105373)

<div class="topic-metadata">

**Author:** [@simone.sarzano](https://forum.gitlab.com/u/simone.sarzano)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 9:52am UTC](https://forum.gitlab.com/t/mirroring-to-bitbucket/105373 "2024-05-29T09:52:42Z")

</div>

Problem to solve I’m working on how to sync a repositoty, hosted on a self-managed gitlab-ce version, to bitbucket. Steps to reproduce Create a test repository on bitbucket i.e. TestSyncGitlab with README and .gitignor…

---

## [Confused about Repository mirroring - Is it not working right?](https://forum.gitlab.com/t/confused-about-repository-mirroring-is-it-not-working-right/104300)

<div class="topic-metadata">

**Author:** [@DamianSwan](https://forum.gitlab.com/u/DamianSwan)\
**Replies:** 2\
**Last updated:** [May 20, 2024, 1:21pm UTC](https://forum.gitlab.com/t/confused-about-repository-mirroring-is-it-not-working-right/104300 "2024-05-20T13:21:36Z")

</div>

So, I’ve been testing out features of Gitlab for a bit here and one thing I have been working with a lot, but am really confused by is repository mirroring. Randomly I am being presented with less options than I think I …

---

## [Serve gitlab-runners from a mirror/cache instance](https://forum.gitlab.com/t/serve-gitlab-runners-from-a-mirror-cache-instance/104645)

<div class="topic-metadata">

**Author:** [@bk-jd](https://forum.gitlab.com/u/bk-jd)\
**Replies:** 0\
**Last updated:** [May 16, 2024, 9:16am UTC](https://forum.gitlab.com/t/serve-gitlab-runners-from-a-mirror-cache-instance/104645 "2024-05-16T09:16:04Z")

</div>

Hello everyone, following setup: Selfhosted Gitlab Instance on AWS, gitlab-runner controller on AWS and a variable amount of gitlab-runners (docker+machine). That works fine but starts to get really expensive because …

---

## [Issues with Gitlab Mirror using SSH auth method](https://forum.gitlab.com/t/issues-with-gitlab-mirror-using-ssh-auth-method/103664)

<div class="topic-metadata">

**Author:** [@priyanshis\_webelight](https://forum.gitlab.com/u/priyanshis_webelight)\
**Replies:** 1\
**Last updated:** [May 1, 2024, 4:47am UTC](https://forum.gitlab.com/t/issues-with-gitlab-mirror-using-ssh-auth-method/103664 "2024-05-01T04:47:26Z")

</div>

Hii, I have a gitlab-self-hosted instance that is setup on docker. I want to mirror repository from my gitlab self hosted to my gitlab.com. Source - gitlab self hosted Target - gitlab.com 1 question:: I have first s…

---

## [Gitlab Push Mirror with SSH Public Key using API](https://forum.gitlab.com/t/gitlab-push-mirror-with-ssh-public-key-using-api/103735)

<div class="topic-metadata">

**Author:** [@priyanshis\_webelight](https://forum.gitlab.com/u/priyanshis_webelight)\
**Replies:** 0\
**Last updated:** [April 30, 2024, 7:52am UTC](https://forum.gitlab.com/t/gitlab-push-mirror-with-ssh-public-key-using-api/103735 "2024-04-30T07:52:13Z")

</div>

Hii Gitlab Forum, I want to set push mirror from my gitlab self hosted that is hosted on docker on an ubuntu server to gitlab.com using ssh public key auth method. I don’t want to set it up using token - as it is not v…

---

## [Triggering a mirror push through the API](https://forum.gitlab.com/t/triggering-a-mirror-push-through-the-api/78609)

<div class="topic-metadata">

**Author:** [@unilynx](https://forum.gitlab.com/u/unilynx)\
**Replies:** 1\
**Last updated:** [April 11, 2024, 8:26am UTC](https://forum.gitlab.com/t/triggering-a-mirror-push-through-the-api/78609 "2024-04-11T08:26:59Z")

</div>

Is there a way to trigger a ‘push’ through the API ? I’ve setup mirroring using: But I can’t actually push through the API. I need to go to the webinterface to ‘retry’ a push to actually trigger it (I guess it would …

---

## [Is it possible to use own SSH-Keys at the repository mirroring?](https://forum.gitlab.com/t/is-it-possible-to-use-own-ssh-keys-at-the-repository-mirroring/102058)

<div class="topic-metadata">

**Author:** [@lukas.bauer](https://forum.gitlab.com/u/lukas.bauer)\
**Replies:** 0\
**Last updated:** [March 27, 2024, 3:29pm UTC](https://forum.gitlab.com/t/is-it-possible-to-use-own-ssh-keys-at-the-repository-mirroring/102058 "2024-03-27T15:29:39Z")

</div>

Hello there! If you want to mirror a repository, i.e. that the changes are always pulled into the GitLab repository from another Git server, it is possible to specify authentication via an SSH key. A new SSH key is now …

---

## [Notification on Push Mirror failure](https://forum.gitlab.com/t/notification-on-push-mirror-failure/100862)

<div class="topic-metadata">

**Author:** [@mkotschi](https://forum.gitlab.com/u/mkotschi)\
**Replies:** 0\
**Last updated:** [March 6, 2024, 4:15pm UTC](https://forum.gitlab.com/t/notification-on-push-mirror-failure/100862 "2024-03-06T16:15:47Z")

</div>

Greetings! We are running a self-hosted Gitlab Community Edition v16.2.9 and have successfully configured a Push Mirror for a number of our repositories. Is it possible to configure notifications for a Push Mirror sync…

---

## [Using Authorization Method bearer on pull mirrored repositories](https://forum.gitlab.com/t/using-authorization-method-bearer-on-pull-mirrored-repositories/100586)

<div class="topic-metadata">

**Author:** [@quista](https://forum.gitlab.com/u/quista)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 12:10pm UTC](https://forum.gitlab.com/t/using-authorization-method-bearer-on-pull-mirrored-repositories/100586 "2024-02-29T12:10:04Z")

</div>

Problem to solve We have a self-hosted on-prem gitlab enterprise (v16.9.1-ee). There are several git repositories hosted in Azure DevOps. For data recovery reasons we want to set up pull mirroring on this gitlab instance…

---

## [Using github webhook to trigger repo mirroring](https://forum.gitlab.com/t/using-github-webhook-to-trigger-repo-mirroring/100544)

<div class="topic-metadata">

**Author:** [@rafaelb](https://forum.gitlab.com/u/rafaelb)\
**Replies:** 0\
**Last updated:** [February 28, 2024, 11:30pm UTC](https://forum.gitlab.com/t/using-github-webhook-to-trigger-repo-mirroring/100544 "2024-02-28T23:30:47Z")

</div>

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data. Problem to solve I followed the i…

[Next page](https://forum.gitlab.com/tag/mirroring/84.md?match_all_tags=true&page=1&tags%5B%5D=mirroring)
