A bug in the new projects Disk Database in Resolve 12 can invalidate the project XML which can lead to catastrophic loss of timelines.
This Python script zips up the database and saves it in the current user’s Documents directory every two hours. The interval is set inside the script itself. The script does not require OS level scheduling.
Usage is the same in Windows and OS X. Run the script after login, or add it to the startup programs for automatic start. In Windows you can rename the extension to .pyw to suppress the console window.
You will need to install Python 2.7 in Windows. OS X already comes with Python, but you need to associate the .py extension with the Python Launcher if you want to execute the script by double clicking.