User export/import function on the server side

I need to move a specific user from one nextcloud installation to another one on another server without involving the user himself. Is there any export function in Nextcloud on the server side which would export my user’s data along with all his settings in order to import it to another server?

I have to mention that I am using the encryption app here, so I suppose that this ads another level of complexity in order to export and import a user back.