Export import group issue

While taking a export of group and import the same group in other gitlab instance i can’t see the subgroup details. Earlier when i was exporting and importing i was able to see the subgroup as well.

export command-
curl --request POST --header “PRIVATE-TOKEN: ${gitlab_token}” “https://gitlab.com/api/v4/groups/${group}/export

download export-
curl --request GET --header “PRIVATE-TOKEN: ${gitlab_token}” --output backup/${group}.tar.gz “https://gitlab.com/api/v4/groups/${group}/export/download

import the exported data-
curl --request POST --header “PRIVATE-TOKEN: ${gitlab_admin_token}” --form “name=${group_name}” --form “path=${group_name}” --form “file=@backup/${group}.tar.gz” “http://<<gitlan_new_instance>>/api/v4/groups/import”