Reputation: 31
i am new to git. i read a few links on how to create a git repo and maintain a back up there but couldn't get any concrete material. what i have to do is that i have a server written in php which stores the files uploaded by the users. i want to create an hourly backup of the files on the git. can anyone tell me how to go about it? my server is on php and my client side is on android. i am using windows. i was also told that using linux would be better.. please give me more input on that. thanks in advance.
Upvotes: 1
Views: 456
Reputation: 1322955
You can also keep a backup by creating a bundle of a Git repo.
I like this method because a bundle is only one file, which is:
Upvotes: 1
Reputation: 131811
Because every clone of a repository is also a fully qualified repository, every clone of a repository is also a full backup. This means, if you want to create a dedicated backup, just clone it somewhere on a separate machine.
Upvotes: 1