I'll tell you what I do, after suffering much from losses in Sonar:
I do an automatic synchronization of all Sonar files and folders to SFTP (including versioning, that is, if I save the same project 50 times, I'll have 50 versions of this file in the FTP side). This may seem excessive, but as versioning is in the FTP it will not consume space on my machine, but still will have a huge chance to recover something lost.
There are several software that do this. I particularly use
FreeFileSync (to create jobs) and more specifically the sub-application
RealTimeSync, which is installed together and scans the folders to detect any changes in the files.
What should be done:
- Create a job in FreeFileSync indicating, in the left, the original folder (or folders) where are the projects in HD, and in the right, the FTP route where the original files are stored.
- Configure the Versioning option
- Also, in settings I use the custom option to only move the FTP side (ie avoiding so if a file is accidentally deleted on the FTP, this does not reflect on the original computer side, as the "Two Way" option)
- Manually run this job to test (check the results on the FTP side)
- Once everything is right with this job, create an scheduled job with RealtimeSync. Basically it runs the job automatically every 'x' seconds.