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 10 months ago
Wonder is their a docker to backup and update repos
Arghblarg@lemmy.ca 10 months ago
Akito@lemmy.zip 10 months ago
ocean@lemmy.selfhostcat.com 10 months ago
Thanks!
ocean@lemmy.selfhostcat.com 10 months 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 10 months ago
I don’t recall reporting any comment today. Can I fix that if I reported it somehow?
ocean@lemmy.selfhostcat.com 10 months 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 10 months ago
You triggered the independent thought alarm
gwheel@lemm.ee 10 months 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 10 months ago
You can easily mirror Github wikis as well. You just need to add
.wiki.gitto the repo URL. That way you can clone the wiki just like any other Git repo.Akito@lemmy.zip 10 months ago
Running Gitea and want to mirror worthwhile repositories, hence this post. :)
mesamunefire@piefed.social 10 months ago
Yep and you can dictate the sync time. It's great.
slazer2au@lemmy.world 10 months 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 10 months ago
forgejo.org/docs/latest/user/repo-mirror/
ocean@lemmy.selfhostcat.com 10 months ago
Thanks! This is great to know.