How to take backup of AOT nodes by code in axapta

To take backup of AOT nodes by code in axapta you can try following code in job to export AOT classes xpo.

export classes