To take backup of AOT nodes by code in axapta you can try following code in job to export AOT classes xpo.
Technical Tutorials x++,tips on issues or troubleshooting On Ax ERP ,Microsoft Dynamics 365,Ax 2012,Microsoft , U.S.,Business Software solution.