Backup katello server from old content

My katello server crashed and I had to rebuild it. I could manage to recover the data and all my synced content is still present.

I have installed katello now. Now I need some help in figuring out how can I rebuild the katello server with the content that I have.

I guess what I am asking is that how can I rebuild the products and repositories based on the content that I have saved.

Expected outcome:
Ensure katello service works with the earlier content.

Foreman and Proxy versions:


Foreman and Proxy plugin versions:

Other relevant data:
I don’t have the backup that foreman documentation has mentioned. Any help would be immensely appreciated.