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
Neel NeelNeel Neel 

We are looking for best way to take backup of Metadata

Hello Friends,

We are looking for best way to take backup of Metadata (Changes to Std obj, Custom objects, Apex code, Profiles, etc) from DEV to PROD?

We heard about below options:
1) Force.com IDE on Eclipse
2) Force.com ANT Migration Tool
3) Snapshot (not sure if this is paid)
4) Change Sets

Also, in all the approaches we only pushed changed items right?

Thanks,
Yaswanth KothapalliYaswanth Kothapalli
Hi Neel,

Those are the best ways to take the backup of metadata. Among all the easist way is Force.com IDE where in you download the package.xml by selecting all the things that you want to take the backup. 
Neel NeelNeel Neel
Thanks Yaswanth.

Once we have all the XML/files downloaded, is it easy to restore a apex class, in case we see issues in new code on server?

Thanks,
Yaswanth KothapalliYaswanth Kothapalli
Hi Neel,

You would not face any issues if you restore the same code (Vf,apex) in another Org, unless if there is anything that is inter-related to the edition wise that has been implemented in your earlier Org. Apart from that, you will not face any issues.