Backup code repository hosted in


A complete newbie here!

My team is considering using as our code repository. I’m wondering if it’s possible to do cron-based backups of the repository in or is it only possible with the self-hosted solution? Would I need to go through the following steps:

  1. Setup SSH as described here
  2. Establish ssh connection to my GitLab account
  3. Create a rake-script as shown here Back up and restore GitLab | GitLab

If this is the way to go then I’m a bit unsure if I need to do “Creating a backup of the GitLab system” as suggested in the 3rd article since I’m just using and not installed GitLab using a Omnibus package, from source, Docker container or on a Kubernetes cluster.


I think that since you do not have your own installation, you can do:

git clone --mirror

and then compress it

Thanks! This could be something that I could use.