function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GAURAV SETHGAURAV SETH 

Migration from Partner Developer Edition

I have a partner dev edition org where Dev hub is not available.
I can not use Scratch org to migrate the code to Gitlab.

Can someone please assist which way can I use to migrate the code from this org ?

Thanks,
Gaurav Seth
ShirishaShirisha (Salesforce Developers) 
Hi Gaurav,

Greetings!

You can use the ANT Migration tool to retrieve the data from the dev org and you can deploy the payload to any other orgs.

Reference:http://amitsalesforce.blogspot.com/2017/11/ANTDeploymentTool.html

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
AnudeepAnudeep (Salesforce Developers) 
Hi Gaurav, 

I was reading this blog post and I see Salesforce DX can be used without enabling Developer Hub and using Salesforce DX with normal Salesforce instances. I think you can use Salesforce DX with Metadata API to deploy components where Developer Hub is not enabled or convert old project structure to Salesforce DX format

Once you have the zip file, you can try creating an unlocked package and follow the steps listed in this Trailhead Module -
Build an Automated CI/CD Pipeline with GitLab or you can try retrieving your code using Metadata API. Once you have the zip file, you can deploy to another org and migrate the code to Gitlab from there if none of the above works

I haven't tried it myself but I don't see any other possibility

Anudeep