r/programminghorror • u/D3V370P3R [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Sep 20 '26
Python Weekly Backups
We were a small team of ~8 trying to build software. The team was spread across multiple locations across Asia, Europe and North America. One big challenge we had was synchronizing our work with each other.
Every Friday before each of us logged out, we upload a copy of our working files to the client's SharePoint folder. That way when we share each other's copies every Monday via Teams, we don't have to reupload.
One minor setback. Instead of replacing the previous copy, we upload a fresh one - under a different name. That way, we would not lose any information.
We even came up with a clever idea (that magnified the issue) to name the folders by the calendar week. Soon, each of us would have multiple folders of repetitive code, sometimes with zero changes all uploaded to the shared drive.
We had successfully moved from trying to synchronizing one (latest) version of the codebase, to trying to synchronize one version every week. But we hadn't realized this at that time. We were excited about a more "sophisticated" solution - creating a script that automates this backup process.
We learnt to use Git during Christmas that year.
---
For Reference:
=
=
= f
=
Edit: Code Block Formatting
104
u/lildankkboi Sep 20 '26
What year was this?
45
u/DifferentialEntropy [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Sep 20 '26
What’s the point of this post..? You guys didn’t know how to use version control and ended up learning git because this looks like a terrible idea lmao
28
u/ClvrNickname Sep 20 '26
You may not like it, but this is what peak source control looks like
24
u/YamroZ Sep 20 '26
6
u/tehtris Sep 22 '26
Dev invents git, because dev doesn't know what git is. Nice.
5
u/Flame77ofc Sep 21 '26
git is crying on the background
4
u/Droggl Sep 20 '26
rsnapshot, you're welcome
4
u/JontesReddit Sep 20 '26
The fuck
2
u/NamedBird Sep 21 '26
Nah, not too bad.
Weekly backups is better than loosing 6 months of progress because you never pushed your commits.
And your W19.zip is a simple file, easy to understand. Not confusing like Git is for beginners.
1
u/ComputerLoverDaemon Sep 22 '26
Better source control then git
-1
u/maikindofthai Sep 20 '26
I love sharing the code snippet like creating a zip in python is some unknown trick lol
1
u/[deleted] Sep 22 '26
[removed] — view removed comment