Earlier quoted context omitted.
> Maybe its time to setup a self-hosted backup VCS and not depend entirely on GitHub/GitLab web. I've been wanting to do this for some time purely for git hosting (don't care about CI at all) but wasn't sure about how to make it failover... Personally i'd be happy with a headless git server, but that's not fair on everyone else who wants the GUI to browse and organise stuff, so I want gitlab etc to deal with that. Wh…
If you want transparent failover you need to use your own domain for the repo URL. In case of a failure you (or some automatic job) would have to change the DNS record. Gitlab has a repo mirroring feature [1]. But of course you'd also need to sync users public keys. Downtimes are so infrequent and relatively short that this isn't worth the effort for me. You can instead set up a read-only mirror so people can at leas…
> Downtimes are so infrequent and relatively short that this isn't worth the effort for me.
That's essentially the same conclusion I keep coming too, occasionally it has hit me when I go to push something but rarely has it blocked me or anyone else from continuing to work.
> You can instead set up a read-only mirror so people can at least still pull and browse the code
Yeah, this I need to do eventually just for peace of mind as a more automated backup solution. At least I don't have to care about failover.