I wrote a quick batch script for this purposes…
Here’s a code sample of mine. You’d need to change the path to the CMS databases folder to what yours is for it to work.
net stop "DAZ Content Management Service"
xcopy /y "E:\DAZ\Content Management Service\databases\*.*" "E:\DAZ\Content Management Service\databases\backup\"
net start "DAZ Content Management Service"
This code also forces you to press the any key for it to start and gives you a chance to view any error messages (again by forcing you to press any key) before it closes.
Take out the two “pause” lines if you don’t want the prompts.
This works only on Windows-based PCs. Haven’t figured out how to do it in OSX yet sorry.