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
Charlie Cox 7Charlie Cox 7 

Backing up APEX and Objects on 3rd party storage

We have unused code and objects in production. We want to delete them to free up space but also want to archieve what we delete. I have installed the Force.com IDE and plan to make a zip for the .object files and the .cls files. Then we would store the zip on bitbucket / github. What is the best way to open a .object file to show exactly what it shows me in the Force.com IDE? Or would I just have to reload it into the Force.com IDE to look at it?

Thanks!
CyberJusCyberJus
You can open any of those files with a text editor like notepad for example.  Most of the files will be in an xml format, but the .cls class files will look like they do in the IDE. The .cls class files should also have a separate xml metadata file that includes their name and the api version.