Time Machine doesn't backup folders with same name as user
I am assuming you have already checked in in System Preferences > Time Machine > Options to ensure those folders have not been excluded?
We can then use the tmutil
utility to find out some more information about this.
From Terminal enter this command:
tmutil isexcluded ~/Xcode/Attila
This will tell you whether it has been excluded from Time Machine backup or not. If it lists
[Excluded] /Users/Attila/Xcode/Attila
You can then remove it from the exclusions list by running
sudo tmutil removeexclusion -p ~/Xcode/Attila
For more information on tmutil
, check out its documentation
I had a file called Attila.sparsebundle
in my home directory. Renaming it to something that's not related to the username solved the issue.