small_server_thingies/gogs/mirroring_with_gitea.md
2022-01-15 13:51:26 +01:00

20 lines
No EOL
940 B
Markdown

My gogs repo has started to have quite a bit of interesting info. The gogs
instance is deployed on a clouding machine, and clouding has proven to be a
very reliable company so far. But, if they ever have an incident and the data
is gone, I'm fucked big time.
Recently I deployed gitea instance on a local machine at my place. I realised
gitea has this pretty neat mirroring function that can keep a syncd copy of
repos in gogs, so I'm gonna set that up for all the important repos.
For auth purposes, I had to get a personal token tied to my user account in
gogs. It is:
d3568092375925b7cba556b55c65a684e31ba55f
It needs to be used when setting up the mirrors in gitea so that gitea has the
right auth.
I have checked and it seems that the automatic refresh from gitea is not really
copying over the new changes I'm making (I'm using this repo as a test). I need
to look into it and fix it somehow or the whole thing is just useless...