Recently I accidentally whipped out a directory with important stuff, and now I'm starting to think about the best ways to have backups, a remote copy It's already in place but I was thinking, about
A scripts that replicates my directory structure in another directory, and makes hard links for all the files in the directory, so In case I delete something It still exists.
But my question here is,
- Does git version control will still work?
- Should I replicate the structure and make hard links for each file or hard links the the directories?
What I want is to be able to have a hard links to the same inodes, in some other place, so I don't harm the integrity of the files if I delete or something, the hard links should be updated with a cronjob, so I always have a pointer to them.
The concern is If git will respect the hardlinks?