Preparations for db syncs