+ Start a Discussion
Syed Insha Jawaid 2Syed Insha Jawaid 2 

Get back Metadata of deleted scratch org

Is it possible to get back the metadat of a deleted scratch org?
NagendraNagendra (Salesforce Developers) 
Hi Syed,

May I suggest you please refer to below links which might help you further. Hope this helps.

Ajay K DubediAjay K Dubedi
Hi Syed,
Your scratch org is never the source of truth (the home of your current work) in SFDX. 
Just make sure your local copy is up to date with any changes you might have made in the user interface by doing sfdx force:source:pull.
Once your local copy is up to date, you can just sfdx force:org:create a new scratch org and sfdx force:source:push all of your work there to continue development.
No need to worry about the expiring scratch org.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Ajay Dubedi