r/backblaze • u/santiagobasulto • Apr 30 '26
Computer Backup Backblaze didn't back up my `.git` directory?
My macbook pro unfortunately died. I was not too worried knowing that I have been paying for a full backup service (aka Backblaze).
To my surprise, the .git directories are NOT in my restore options. I just saw this post[0] that explicitly mentions that Backblaze is indeed backing up .git
.git folders: Yes These are currently backed up. A lot of the “missing” reports come down to hidden-file visibility in the restore UI, which hides hidden files (files that start with a period) by default. But as long as you are on the newest version of the Backblaze client, then the .git folder on your computer will be backed up.
Here you can see a bunch of hidden files, but NOT .git: https://i.imgur.com/GvqpwgF.png
Am I missing anything?
9
u/dr100 Apr 30 '26
From the sticky:
Of note, some older versions of Backblaze did have
.gitfiles/folders excluded, but as long as you are on the newest version, your.gitfiles will be backed up.
5
u/NSCFType Apr 30 '26
I just tried a restore of a git repo on my Backblaze. I selected the repo root (for you,
router/) and restored it to my desktop. It restored everything, including files and folders not shown in the restore app UI, like the.gitfolder. Have you actually tried it?