Hi @Adrián Ďurica,
I couldn't reproduce this issue in my environment.
My commands:
Export-SPWeb -Identity "http://sp19/sites/test/sub" -Path "C:\ExportFileName.cmp" -IncludeUserSecurity -IncludeVersions All -NoLogFile -NoFileCompression -Force -Verbose
Import-SPWeb -Identity "http://sp19/newsub" -Path "C:\ExportFileName.cmp" -UpdateVersions Overwrite -NoLogFile -NoFileCompression -Force -IncludeUserSecurity -Verbose
My SharePoint build number is 16.0.10337.12109
. You can check yours with this PowerShell:
$farm = [Microsoft.SharePoint.Administration.SPFarm]::Local
write-host $farm.BuildVersion
And did you run your commands in SharePoint 2019 management shell as administrator?
Also if you try moving a blank subsite or to a new target site, will it work? I want to confirm whether it is caused by the content of your source subsite or target site.
Thanks.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.