r/github • • Oct 10 '26

Question Github + cloud service like google drive bad idea?

I recently started using GIthub as part of my hobbie with GPT and codex. For years before i used github i just synced my folder with google drive. When i started using github i didnt think anything of it but randomly i mentioned that in a GPT chat and now i am down a rabbit hole of robocopy + nas + task scheduler.

When GPT said it was bad i started ask about alternative setups and what i wanted was still some system that worked similar to google drive with file revisions and all the niceties.

I let GPT lead me around with all sort of idea and since i dont want more third party programs I am now trying to setup robocopy -> NAS, then NAS -> a cloud provider with CLI scripts.

I am wondering since i am new to this somewhat and i dont know what i dont know.

Is there a simpler solution that is somewhat hands off?
I thought about just trying to be mindful and pausing sync when i want to do codex work or change branches but that is a habit that would take time and may never form.

I am open to ideas and workflows if anyone is willing to share.

0 Upvotes

11 comments sorted by

3

u/TomKavees Oct 10 '26

So what are you actually trying to achieve? Creating backup of your repositories in case github goes down for good?

If so, as unlikely as it is in short and medium term, you can use program like Kopia to create regular backups. Set up a filesystem repo on the NAS, and then have KopiaUI on the windows desktop (guessing by robocppy being mentioned) with a policy to take a snapshot every hour or so.

1

u/Illustrious-Win4432 Oct 11 '26

Create a local copy of your repos on your c:/ drive. Connect Codex with it.

1

u/zarlo5899 Oct 11 '26

I would go a bit further than this and then set up a local instance of gitolite It's very easy to set it up as a local mirror

1

u/zarlo5899 Oct 11 '26

i would use gitolite to manage you git repos then use something like rsync to mirror them to where ever you want

so the set up would be

  • set up gitolite on you nas in a container
  • set up a crun job on your NAS to use something like arcing to copy gitolite repository folder to wherever you want to back it up.
  • You can now make as many repositories as you wish and you just push it and things will automatically get duplicated.

It's not hard to get an LLM to make a script for you that will automatically create the repros on GitHub also and push them there.

0

u/someoneyouknow23 Oct 10 '26

with the amount of times that github goes down? probably not lmao

4

u/[deleted] Oct 10 '26

[removed] — view removed comment

0

u/Chouni-Rhasaan Oct 11 '26

solid point about drive choking on branch changes, thats exactly where things get messy

0

u/[deleted] Oct 11 '26

[removed] — view removed comment

1

u/Ok_Staff_Bill Oct 11 '26

I think it has as well but let me try and explain the setup a little better.

This repo is part of Windower4 for FFXI and I use github for gearswap work.
Since i dont want to have a separate dev repo and a live game play repo I decided to use the live gearswap folder. This way i can create a feature branch, do some work in it then just //gs reload in game to test new changes.
If i then need to revert to a stable version i cant change git back to main branch and reload again then continue playing. I want to backup to cloud the whole windower4 folder, since gearswap lives inside, it has to be included unless to manually add each addon folder i want backed up to cloud which is not ideal.

So for me my git is part of a live game play addon environment and didnt want to worry about a dev repo and live game play folder and trying to sync them. I might and most likely very well over thinking this and foolishly allowed GPT to walk me into doom.