Dunno about docker setup, but I mirror github repos I worry may disappear automatically using my self-hosted gogs instance. (Gitea/Forgejo likely also can do it). It’s point-and-click, you just specify the github URL and check a box “this is a mirror”.
Comment on Open Source Github Repositories in Danger of being Deleted
ocean@lemmy.selfhostcat.com 5 weeks ago
Wonder is their a docker to backup and update repos
Arghblarg@lemmy.ca 5 weeks ago
Akito@lemmy.zip 5 weeks ago
ocean@lemmy.selfhostcat.com 5 weeks ago
Thanks!
ocean@lemmy.selfhostcat.com 5 weeks ago
@TeamAssimilation@infosec.pub Why did you report my comment???
Reason: Honest question: why docker if a simple git command is enough?
TeamAssimilation@infosec.pub 5 weeks ago
I don’t recall reporting any comment today. Can I fix that if I reported it somehow?
ocean@lemmy.selfhostcat.com 5 weeks ago
I figured it seems like a response not a report! Thanks for clarifying :)
I agree with cli command over docker. Sometimes docker is easier for the less informed though, me.
InnerScientist@lemmy.world 5 weeks ago
You triggered the independent thought alarm
gwheel@lemm.ee 5 weeks ago
Forgejo has an option to mirror a repository and update on a regular interval. It won’t get wikis or issues though. I’ve got mine set up to mirror a bunch of decomps.
486@lemmy.world 5 weeks ago
You can easily mirror Github wikis as well. You just need to add
.wiki.git
to the repo URL. That way you can clone the wiki just like any other Git repo.Akito@lemmy.zip 5 weeks ago
Running Gitea and want to mirror worthwhile repositories, hence this post. :)
mesamunefire@piefed.social 5 weeks ago
Yep and you can dictate the sync time. It's great.
slazer2au@lemmy.world 4 weeks ago
How do you do that without needing a pak for that repo?
Unless I am doing something Wong which is always likely.
gwheel@lemm.ee 4 weeks ago
forgejo.org/docs/latest/user/repo-mirror/
ocean@lemmy.selfhostcat.com 5 weeks ago
Thanks! This is great to know.