Versioning pages and tt_content

Hi,
I need to use versioning on pages and tt_content tables. i’m using Typo3 12.2.0 and I activate extension workspaces, create workspace and user. When I add new page on workspace record is created, but after publishing old record is replaced new record. In pages table i can see only last version of record. Records in sys_log table are created, but i can’t restore old version of page.
Can someone help with running versioning.