For Thunderbird it’s easy to do at the client side, you only have to copy the profile folder. At Windows for example it is
C:\Users\UserName\AppData\Roaming\Thunderbird\Profiles\yourProfile
The profile name is cryptic.
But you have to close TB before, otherwise it can’t copy all files.