r/devops • • Aug 17 '26

Ops / Incidents Tough morning @ GitHub...

228 Upvotes

80 comments sorted by

View all comments

Show parent comment

2

u/sohblob Aug 18 '26

As someone who wants to start syncing files responsibly, how do you navigate syncs vs backups? I know it’s better to do them separately but I mainly want stuff to stay synchronized and have one device being snapshotted for backups.

Wish I had a nice network-attached turnkey for it, syncthing kept drowning me in .sync-conflict files x.x

1

u/C945Taylor Aug 18 '26

I have a forgejo action that just automatically syncs to GitHub, I could also setup that action to push to another forgejo instance remotely (biggest benefit I think of forgejo is the federation piece). So that handles my sync piece for the most part. I keep a local copy on my dev box, push to forgejo and then sync to GitHub for that overall workflow. As part of that sync process, I also have crons and standard backups apply every time there's a changed state in forgejo, so technically they're part of the same workflow but still separate. That help answer or you need a little bit more deep dive?

2

u/ansibleloop Aug 18 '26

Did you know Forgejo can sync to GitHub as a built in feature? Whenever I push a new commit, it auto syncs to GH too

2

u/C945Taylor Aug 18 '26

Yes, well aware but it only handles single repos out the gate, sometimes I push between private repos and public ones depending on the content I'm pushing and use my actions to push depending on content inspection.

1

u/ansibleloop Aug 18 '26

I wouldn't use syncthing for it

My setup is Forgejo on my NAS with Kopia snapshots every hour and auto syncing to GitHub

It will be extremely difficult for me to lose my git repo