As you probably know, the Wordpress posts and pages are stored on the database, in a table called wp_posts. If you have a database dump included in a backup, you can spin up a VM, set up the default root/
But it would probably be easier to use plugins like UpdraftPlus, XCloner, and the like if you had a live and internet-connected (that is, not localhost) version of the site.
Good to see you, Pal. I hope your project worked out fine? Do you think we can talk about it on Telegram? Maybe you'd help me do it?
Sorry for the delay, I was busy throwing pitchforks and torches at my Dogecoin node. You can send me a message.