Separate a company from a multiple company setup?

If your ERPNext instance is a multiple company setup, in the event you need to separate one of the companies from the database to be used independently in it’s own instance of ERPNext (as in if you sell the company or need to isolate it for some reason), how do you go about migrating the data from the original instance of ERPNext to the new isolated instance of ERPNext?

Hello @BFMalarski

Actually my thought is: Restore it in a new site and delete the company transactions (Which you don’t need ). Another company transactions remains same. Hope this will helps you.