The caveats here are : I’m running the gitlab-omnibus-ce in docker
It mounts all of it’s data (etc and var) at /virt/gitlab
# Make the backup docker exec -t gitlab gitlab-backup create BACKUP=gitlab-full-backup # Put the backup somewhere good s3cmd put /virt/gitlab/var/opt/gitlab/backups/gitlab-full-backup_gitlab_backup.tar s3://go.rottenboat.co/gitlab/etc/gitlab/gitlab.rb # Copy gitlab.rb and gitlab-secrets.json s3cmd put /virt/gitlab/etc/gitlab/gitlab.rb s3://go.rottenboat.co/gitlab/etc/gitlab/gitlab.rb s3cmd put /virt/gitlab/etc/gitlab/gitlab-secrets.json s3://go.rottenboat.co/gitlab/etc/gitlab/gitlab-secrets.json
I saved all of that to a file called “backup_gitlab.sh” which I run daily on a cron job.
8th February 2020
I won't ever give out your email address. I don't publish comments but if you'd like to write to me then you could use this form.
I'm Issac. I live in Oakland. I make things for fun and money. I use electronics and computers and software. I manage teams and projects top to bottom. I've worked as a consultant, software engineer, hardware designer, artist, technology director and team lead. I do occasional fabrication in wood and plastic and metal. I run a boutique interactive agency with my brother Kasey and a roving cast of experts at Kelly Creative Tech. I was the Director of Technology for Nonchalance during the The Latitude Society project. I was the Lead Web Developer and then Technical Marketing Engineer at Nebula, which made an OpenStack Appliance. I've been building things on the web and in person since leaving Ohio State University's Electrical and Computer engineering program in 2007. Lots of other really dorky things happened to me before that, like dropping out of high school to go to university, getting an Eagle Scout award, and getting 6th in a state-wide algebra competition. I have an affinity for hopscotch.