I want to use GIT as a Backup solution.
I have a windows shared network in my Company and a Centos Server.
Each user have a unique shared folder, where is located all files of user. We have 2 developers, they can have a git repo(s).
How Can I make the entire folder of user a GIT repo, a perform usual git operations, commit, push, etc, without import if subfolders have git repos?
Note: Submodules is not a solution, I don’t know what repositories is under the main folder of user.
There are a number of reasons why Git does not make a good backup solution:
.gitdirectory like a normal directoryThat being said, there are some reasons why Git would be awesome as a backup solution:
My recommendation: take a look at bup. It’s not very mature, it’s not seeing much active development, and it lacks some important features, but it has a lot of promise. It’s an open source backup program based on Git. They’ve kept the things Git does well, but replaced/augmented some of the things Git does poorly (for backups).