Manually backup and restore posts

Hi all, due to the fact that I have undergone some pain to restore my WordPress site I have tried to get my head around how to best backup and restore posts, pages (including media files).

Personally I would like to avoid using plug-ins because they all come at some stage with costs. Hence I have created database backups/dumps and zip files from my WordPress directory.

Over the last days it has become apparent to me that restoring this into a fresh WordPress installation is not easy due to e.g. Newer WP version, php version etc.

Hence I am seeking for a solution, ideally not commercial, how to export posts, pages etc including respective media files which can easily be imported into a freshly set up wordpress server (hosted myself). Do you have any hint on this?


Source link