save and load positions and start of db logging