There’s quite an interesting discussion in this thread. I use a modified version of the script I posted there to backup all open DEVONthink databases plus a Hazel rule that ensures I keep only the two most recent versions of each DEVONthink archive.
Stephen