I have no privileges to comment so just providing links here in answer, may this helps you:
Similar question:
How to Create Export/Import Functionality for Plugin
Thanks!
I have no privileges to comment so just providing links here in answer, may this helps you:
Similar question:
How to Create Export/Import Functionality for Plugin
Thanks!