Hello,
I have a script that copies my git repositories into Dropbox every 10 minutes. It only copies modified files.
This includes .git subfolders folders as well as my code files.
In total this is a 6 Gb directory with around 20,000 files.
Is this okay?
To be clear, I am not not hosting a .git repository on Dropbox, nor am I pushing to it or using it as a remote.
I am not working inside the dropbox folder.
It is PURELY for backup purposes of the state of my local project in the event of system crashes, drive failure, and power outages.
Is this okay? I am concerned because of somewhat related posts on here, github, and stack exchange that indicate Dropbox may corrupt files inside the .git folder???
However previous posters are trying to use .git / work from INSIDE dropbox.
I am not trying to do that. But I DO have to paste in the .git folder, every 10 minutes.
Is this okay?
Again, I am not directly working out of dropbox locally nor am I trying to use Dropbox as a remote repository.
I am not collaborating with anyone either.
No one will touch these files or run any git operations INSIDE dropbox.
I am using a FreeFilesync batch script to copy into dropbox files that have changed from a different directory. (Similar to robocopy or rsync on unix).
Looking on this forum, I am still concerned that Dropbox may STILL corrupt .git files? It could zero out files? Ignore dot files? Corrupt repository data?
But is this true even for a simple backup job such as mine?
Can someone Technical Support / Engineering or anyone that uses a similar workflow please confirm?
In summary: Is it okay to do automated 10 minute copy/paste backups of GIT repositories into Dropbox?
Only updating files that changed. Please confirm????
Thank you!