Command to sync/rewrite config DB to disk

Hi.
In the past I remember I used a command to fully rewrite the config DB to disk, to use in case of manual manipulation of the configuration (i.e. I happened to move all the sites from mod-fgci to php-fpm so I did it from the db). Sadly I cannot find this command anymore, neither in the forum history.
Can anyone refresh me what this command was?
thanks

I don´t know if the resync from 3.0.5.4 resyncs the databases... you can try https://git.schaal-24.de/ispconfig/resync - this is a backport from 3.1 and it should work with the current version (but you should make backups).